"$().ready(handler)" in example not recommended

As "$().ready(handler)" is not recommended(http://api.jquery.com/ready/)
This commit is contained in:
Jakub Ďuraš
2013-07-28 12:28:56 +02:00
parent 917b9f2fa1
commit 1ca22f70f6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
<script type="text/javascript" charset="utf-8">
// Documentation for client options:
// https://github.com/Studio-42/elFinder/wiki/Client-configuration-options
$().ready(function() {
$(document).ready(function() {
$('#elfinder').elfinder({
url : 'php/connector.minimal.php' // connector URL (REQUIRED)
// , lang: 'ru' // language (OPTIONAL)
+1 -1
View File
@@ -161,7 +161,7 @@
</style>
<script>
$().ready(function() {
$(document).ready(function() {
$('#finder').elfinder({
// requestType : 'post',