Don't modify position of thumbnail inserted by Informational Tab

This commit is contained in:
Piro / YUKI Hiroshi 2016-02-20 15:46:27 +09:00
parent fef54cec8b
commit 2a750342bb

View File

@ -1307,8 +1307,6 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
for (let i = 0, maxi = nodes.length; i < maxi; i++) for (let i = 0, maxi = nodes.length; i < maxi; i++)
{ {
let node = nodes[i]; let node = nodes[i];
if (node.getAttribute('class') == 'informationaltab-thumbnail-container')
continue;
node.setAttribute('ordinal', (count - i + 1) * 100); node.setAttribute('ordinal', (count - i + 1) * 100);
} }
@ -1346,6 +1344,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
delete this.timers[key]; delete this.timers[key];
}).bind(this), 100); }).bind(this), 100);
} }
log('rearranged tab contents: ', nodes);
}, },
updateInvertedTabContentsOrder : function TSTBrowser_updateInvertedTabContentsOrder(aTarget) updateInvertedTabContentsOrder : function TSTBrowser_updateInvertedTabContentsOrder(aTarget)