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