Revert "Move jquery initialisation/startup logic at the end/down"

This reverts commit eabf763c41.

It is not needed anymore, apparently.
This commit is contained in:
rugk 2024-10-16 22:56:35 +00:00
parent 64ed6e96ee
commit 2790113199

View File

@ -34,6 +34,13 @@ jQuery.fn.draghover = function() {
});
};
// main application start, called when DOM is fully loaded
jQuery(document).ready(function() {
'use strict';
// run main controller
$.PrivateBin.Controller.init();
});
jQuery.PrivateBin = (function($, RawDeflate) {
'use strict';
@ -5664,10 +5671,3 @@ jQuery.PrivateBin = (function($, RawDeflate) {
Controller: Controller
};
})(jQuery, RawDeflate);
// main application start, called when DOM is fully loaded
jQuery(document).ready(function() {
'use strict';
// run main controller
$.PrivateBin.Controller.init();
});