[PE] Refactoring

This commit is contained in:
Julia Radzhabova 2021-02-26 16:49:34 +03:00
parent f76b650704
commit 808a7ef142

View file

@ -1480,7 +1480,9 @@ define([
var onApiCurrentPages = function(number) {
if (me.currentMenu && me.currentMenu.isVisible() && me._isFromSlideMenu !== true && me._isFromSlideMenu !== number)
me.currentMenu.hide();
setTimeout(function() {
me.currentMenu && me.currentMenu.hide();
}, 1);
me._isFromSlideMenu = number;
};