Procházet zdrojové kódy

Layout.js: reuse constant (#2778)

XhmikosR před 4 roky
rodič
revize
13c857679b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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