diff --git a/js/views/sideMenuView.js b/js/views/sideMenuView.js index 07a7815041..7dc82e0421 100644 --- a/js/views/sideMenuView.js +++ b/js/views/sideMenuView.js @@ -24,10 +24,14 @@ this.isEnabled = isEnabled; }, bringUp: function() { - this.el.style.zIndex = 0; + if(this.el.style.zIndex !== '0') { + this.el.style.zIndex = '0'; + } }, pushDown: function() { - this.el.style.zIndex = -1; + if(this.el.style.zIndex !== '-1') { + this.el.style.zIndex = '-1'; + } } });