Explorar el Código

Layout.js: reuse constant (#2778)

XhmikosR hace 4 años
padre
commit
13c857679b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      build/js/Layout.js

+ 1 - 1
build/js/Layout.js

@@ -179,7 +179,7 @@ class Layout {
   }
 
   _isFooterFixed() {
-    return $('.main-footer').css('position') === 'fixed'
+    return $(Selector.FOOTER).css('position') === 'fixed'
   }
 
   // Static