diff options
Diffstat (limited to 'static/scripts/src/main.js')
-rw-r--r-- | static/scripts/src/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/scripts/src/main.js b/static/scripts/src/main.js index 64a0ea5..d993884 100644 --- a/static/scripts/src/main.js +++ b/static/scripts/src/main.js @@ -18,12 +18,12 @@ el.classList.toggle('active') }) if (menuActive) { - this.querySelector('img:nth-of-type(1)').style.display = 'block' + this.querySelector('img:nth-of-type(1)').style.display = 'inline-block' this.querySelector('img:nth-of-type(2)').style.display = 'none' menuActive = false } else { this.querySelector('img:nth-of-type(1)').style.display = 'none' - this.querySelector('img:nth-of-type(2)').style.display = 'block' + this.querySelector('img:nth-of-type(2)').style.display = 'inline-block' menuActive = true } }) |