Fix document.ready function for future Nextcloud versions
parent
2d9f458f14
commit
7dcef17981
|
@ -48,6 +48,6 @@
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
$(document).ready(function() {
|
window.addEventListener('DOMContentLoaded', function () {
|
||||||
OCA.Weather.Admin.initialize();
|
OCA.Weather.Admin.initialize();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue