|
@@ -180,7 +180,9 @@ module INSPECTOR {
|
|
|
this._div.appendChild(lastTab.toHtml());
|
|
|
this._visibleTabs.push(lastTab);
|
|
|
// Update more-tab icon in last position if needed
|
|
|
- this._div.removeChild(this._moreTabsIcon);
|
|
|
+ if (this._div.contains(this._moreTabsIcon)) {
|
|
|
+ this._div.removeChild(this._moreTabsIcon);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if (this._invisibleTabs.length > 0 && !this._div.contains(this._moreTabsIcon)) {
|