Skip to content

Commit

Permalink
add triple equal sign
Browse files Browse the repository at this point in the history
  • Loading branch information
codemist committed Jan 6, 2022
1 parent 00703c5 commit 905a06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/app.js
Expand Up @@ -240,7 +240,7 @@ function moveDownMainContainer(setMenuLinksHeightVal) {
const mainWrapper = document.querySelector("main");
const moveDownBy = parseInt(setMenuLinksHeightVal);

if (mainWrapper.style.marginTop == 0 || mainWrapper.style.marginTop == "0px" ) {
if (mainWrapper.style.marginTop === 0 || mainWrapper.style.marginTop === "0px" ) {
mainWrapper.style.marginTop = moveDownBy + "px";
}
else {
Expand Down

0 comments on commit 905a06b

Please sign in to comment.