don't set needless treestyletab-backup-flex
This commit is contained in:
parent
7cd0d20f50
commit
85cbf6bbba
@ -954,7 +954,8 @@ TreeStyleTabBrowser.prototype = {
|
||||
Array.forEach(strip.childNodes, function(aNode) {
|
||||
if (aNode.localName == 'tabs')
|
||||
return;
|
||||
aNode.setAttribute('treestyletab-backup-flex', aNode.getAttribute('flex'));
|
||||
if (aNode.hasAttribute('flex'))
|
||||
aNode.setAttribute('treestyletab-backup-flex', aNode.getAttribute('flex'));
|
||||
aNode.removeAttribute('flex');
|
||||
}, this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user