mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-20 13:39:07 -04:00
Move jquery initialisation/startup logic at the end/down
This commit is contained in:
parent
ff3a9eea79
commit
eabf763c41
1 changed files with 8 additions and 8 deletions
|
@ -34,13 +34,6 @@ 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) {
|
jQuery.PrivateBin = (function($, RawDeflate) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
@ -5671,3 +5664,10 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
||||||
Controller: Controller
|
Controller: Controller
|
||||||
};
|
};
|
||||||
})(jQuery, RawDeflate);
|
})(jQuery, RawDeflate);
|
||||||
|
|
||||||
|
// main application start, called when DOM is fully loaded
|
||||||
|
jQuery(document).ready(function() {
|
||||||
|
'use strict';
|
||||||
|
// run main controller
|
||||||
|
$.PrivateBin.Controller.init();
|
||||||
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue