Skip to content

Commit

Permalink
Fix strict equality operator
Browse files Browse the repository at this point in the history
Change-Id: Ifa6512ff9b0274e275a278196948aa764c1f5cf6
  • Loading branch information
jwbth committed Oct 4, 2023
1 parent 8b81934 commit 162b9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
},
Expand Down

0 comments on commit 162b9fb

Please sign in to comment.