From eddc33bc8ac3c275be72c91fa3fe2d98ddcb6db0 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 18 Oct 2017 17:03:49 +0300 Subject: [PATCH] Bug with resizing window when password dialog is opened. --- apps/common/main/lib/component/Mixtbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/component/Mixtbar.js b/apps/common/main/lib/component/Mixtbar.js index 0f351ee5b..9ecb15815 100644 --- a/apps/common/main/lib/component/Mixtbar.js +++ b/apps/common/main/lib/component/Mixtbar.js @@ -292,13 +292,13 @@ define([ var _left_bound_ = Math.round($boxTabs.offset().left), _right_bound_ = Math.round(_left_bound_ + $boxTabs.width()); - var tab = this.$tabs.filter(':first:visible').get(0); + var tab = this.$tabs.filter(':visible:first').get(0); if ( !tab ) return false; var rect = tab.getBoundingClientRect(); if ( !(Math.round(rect.left) < _left_bound_) ) { - tab = this.$tabs.filter(':last:visible').get(0); + tab = this.$tabs.filter(':visible:last').get(0); rect = tab.getBoundingClientRect(); if (!(Math.round(rect.right) > _right_bound_))