mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-01-12 07:49:42 -05:00
Move jquery initialisation/startup logic at the end/down
This commit is contained in:
parent
ff3a9eea79
commit
eabf763c41
@ -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) {
|
||||
'use strict';
|
||||
|
||||
@ -3768,7 +3761,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
||||
|
||||
/**
|
||||
* Clear the password input in the top navigation
|
||||
*
|
||||
*
|
||||
* @name TopNav.clearPasswordInput
|
||||
* @function
|
||||
*/
|
||||
@ -5671,3 +5664,10 @@ 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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user