git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3424 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
d90f6725dd
commit
1ce6e067e8
@ -411,6 +411,14 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=406216
|
||||||
|
if ('_beginRemoveTab' in b) {
|
||||||
|
eval('b._beginRemoveTab = '+b._beginRemoveTab.toSource().replace(
|
||||||
|
'for (let i = 0; i < l; ++i) {',
|
||||||
|
'l = this.mTabs.length; $&'
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
var tabs = b.mTabContainer.childNodes;
|
var tabs = b.mTabContainer.childNodes;
|
||||||
for (var i = 0, maxi = tabs.length; i < maxi; i++)
|
for (var i = 0, maxi = tabs.length; i < maxi; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user