diff --git a/application/views/appointments/book.php b/application/views/appointments/book.php
index 325c05d2..fb550f2a 100755
--- a/application/views/appointments/book.php
+++ b/application/views/appointments/book.php
@@ -437,7 +437,7 @@
diff --git a/application/views/backend/customers.php b/application/views/backend/customers.php
index 1d81bc92..e59d246c 100755
--- a/application/views/backend/customers.php
+++ b/application/views/backend/customers.php
@@ -21,7 +21,7 @@
}
};
- $(document).ready(function() {
+ $(function() {
BackendCustomers.initialize(true);
});
diff --git a/application/views/backend/services.php b/application/views/backend/services.php
index 04576d1a..f027dce9 100755
--- a/application/views/backend/services.php
+++ b/application/views/backend/services.php
@@ -19,7 +19,7 @@
}
};
- $(document).ready(function() {
+ $(function() {
BackendServices.initialize(true);
});
diff --git a/application/views/backend/settings.php b/application/views/backend/settings.php
index cd4e25be..a8157504 100755
--- a/application/views/backend/settings.php
+++ b/application/views/backend/settings.php
@@ -26,7 +26,7 @@
}
};
- $(document).ready(function() {
+ $(function() {
BackendSettings.initialize(true);
});
diff --git a/application/views/backend/users.php b/application/views/backend/users.php
index 814985a3..fd1d8a80 100755
--- a/application/views/backend/users.php
+++ b/application/views/backend/users.php
@@ -28,7 +28,7 @@
}
};
- $(document).ready(function() {
+ $(function() {
BackendUsers.initialize(true);
});
diff --git a/application/views/user/login.php b/application/views/user/login.php
index a827f1e6..740aacb0 100644
--- a/application/views/user/login.php
+++ b/application/views/user/login.php
@@ -56,7 +56,7 @@
var availableLanguages = = json_encode(config('available_languages')) ?>;
- $(document).ready(function() {
+ $(function() {
GeneralFunctions.enableLanguageSelection($('#select-language'));
});