[Common] debug toolbar
This commit is contained in:
parent
05ce65f5ee
commit
619f0e1d35
|
@ -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_) ) {
|
||||
|
|
Loading…
Reference in a new issue