Replaced document ready call in all templates

This commit is contained in:
Alex Tselegidis 2020-09-07 13:30:24 +03:00
parent aeb8c3d86e
commit 28afe4d1c7
7 changed files with 7 additions and 7 deletions

View file

@ -437,7 +437,7 @@
<script src="<?= asset_url('assets/js/frontend_book.js') ?>"></script>
<script>
$(document).ready(function () {
$(function () {
FrontendBook.initialize(true, GlobalVariables.manageMode);
GeneralFunctions.enableLanguageSelection($('#select-language'));
});

View file

@ -35,7 +35,7 @@
}
};
$(document).ready(function () {
$(function () {
BackendCalendar.initialize(GlobalVariables.calendarView);
});
</script>

View file

@ -21,7 +21,7 @@
}
};
$(document).ready(function() {
$(function() {
BackendCustomers.initialize(true);
});
</script>

View file

@ -19,7 +19,7 @@
}
};
$(document).ready(function() {
$(function() {
BackendServices.initialize(true);
});
</script>

View file

@ -26,7 +26,7 @@
}
};
$(document).ready(function() {
$(function() {
BackendSettings.initialize(true);
});
</script>

View file

@ -28,7 +28,7 @@
}
};
$(document).ready(function() {
$(function() {
BackendUsers.initialize(true);
});
</script>

View file

@ -56,7 +56,7 @@
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
$(document).ready(function() {
$(function() {
GeneralFunctions.enableLanguageSelection($('#select-language'));
});
</script>