[Common] debug toolbar

This commit is contained in:
Maxim Kadushkin 2017-07-21 17:56:05 +03:00
parent 05ce65f5ee
commit 619f0e1d35

View file

@ -263,6 +263,8 @@ define([
_right_bound_ = Math.round(_left_bound_ + $boxTabs.width());
var tab = this.$tabs.filter(':first:visible').get(0);
if ( !tab ) return false;
var rect = tab.getBoundingClientRect();
if ( !(Math.round(rect.left) < _left_bound_) ) {