Browse Source

Panel - Remove unused code

DSR! 4 years ago
parent
commit
59c4ae6a4d
1 changed files with 0 additions and 9 deletions
  1. 0 9
      src/pineapple/js/helpers.js

+ 0 - 9
src/pineapple/js/helpers.js

@@ -12,15 +12,6 @@ function resizeModuleContent() {
     }
     }
 }
 }
 
 
-function collapseNavBar() {
-    var width = (window.innerWidth > 0) ? window.innerWidth : screen.width;
-    if (width < 768) {
-        $('div.navbar-collapse').removeClass('in');
-    } else {
-        $('div.navbar-collapse').addClass('in');
-    }
-}
-
 function convertMACAddress(mac) {
 function convertMACAddress(mac) {
     var pattern = /([-: ])/igm;
     var pattern = /([-: ])/igm;
     return mac.replace(pattern, ":");
     return mac.replace(pattern, ":");