New tabs from "new blank tab" button on the tab bar didn't become "first-child" by the user preference automatically when it is opened. Now it works.

This commit is contained in:
Piro / SHIMODA Hiroshi 2011-10-30 05:26:01 +09:00
parent e466b9bccd
commit 188031b1a3

View File

@ -2550,7 +2550,7 @@ TreeStyleTabBrowser.prototype = {
else if (
parent &&
this.getTreePref('insertNewChildAt') == this.kINSERT_FISRT &&
(this.multipleCount == 0 || this._addedCountInThisLoop == 0)
(this.multipleCount <= 0 || this._addedCountInThisLoop <= 0)
) {
/*
子タブの最初の位置に挿入し続くタブは最初の開いたタブ