Fix document.ready function for future Nextcloud versions

master
Alfred Egger 2020-12-10 17:41:37 +01:00
parent 2d9f458f14
commit 7dcef17981
1 changed files with 1 additions and 1 deletions

View File

@ -48,6 +48,6 @@
} }
})(); })();
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function () {
OCA.Weather.Admin.initialize(); OCA.Weather.Admin.initialize();
}); });