From 13c857679bdc01950d0e4adc5e1c3d7f0ee78b3e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 2 Jun 2020 23:38:50 +0300 Subject: [PATCH] Layout.js: reuse constant (#2778) --- build/js/Layout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/js/Layout.js b/build/js/Layout.js index 2599a9694..9bd101384 100644 --- a/build/js/Layout.js +++ b/build/js/Layout.js @@ -179,7 +179,7 @@ class Layout { } _isFooterFixed() { - return $('.main-footer').css('position') === 'fixed' + return $(Selector.FOOTER).css('position') === 'fixed' } // Static