ソースを参照

Layout.js: reuse constant (#2778)

XhmikosR 4 年 前
コミット
13c857679b
1 ファイル変更1 行追加1 行削除
  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