From 162b9fba17ec7fb5da884bb349b5487d68470077 Mon Sep 17 00:00:00 2001 From: jwbth Date: Thu, 5 Oct 2023 02:04:38 +0400 Subject: [PATCH] Fix strict equality operator Change-Id: Ifa6512ff9b0274e275a278196948aa764c1f5cf6 --- src/js/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/init.js b/src/js/init.js index 31765f708..25b8e61a1 100644 --- a/src/js/init.js +++ b/src/js/init.js @@ -870,7 +870,7 @@ export default { // For Timeless, Vector-2022 skins cd.g.bodyScrollPaddingTop = parseFloat($('html, body').css('scroll-padding-top')) || 0; - if (cd.g.skin = 'timeless') { + if (cd.g.skin === 'timeless') { cd.g.bodyScrollPaddingTop = cd.g.bodyScrollPaddingTop - 5; } },