Selaa lähdekoodia

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

This reverts commit eabf763c41d08df92f0b0e9a090fe2bdbae561f6.

It is not needed anymore, apparently.
rugk 1 vuosi sitten
vanhempi
sitoutus
2790113199
1 muutettua tiedostoa jossa 8 lisäystä ja 8 poistoa
  1. 8 8
      js/privatebin.js

+ 8 - 8
js/privatebin.js

@@ -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) {
 jQuery.PrivateBin = (function($, RawDeflate) {
     'use strict';
     'use strict';
 
 
@@ -3761,7 +3768,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
 
 
         /**
         /**
          * Clear the password input in the top navigation
          * Clear the password input in the top navigation
-         *
+         * 
          * @name TopNav.clearPasswordInput
          * @name TopNav.clearPasswordInput
          * @function
          * @function
          */
          */
@@ -5664,10 +5671,3 @@ 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();
-});