diff --git a/js/admin.js b/js/admin.js index 975cbf9..5d57466 100644 --- a/js/admin.js +++ b/js/admin.js @@ -48,6 +48,6 @@ } })(); -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function () { OCA.Weather.Admin.initialize(); });