From 188031b1a378e24924b26bbefc9c9ef1e245fee4 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Sun, 30 Oct 2011 05:26:01 +0900 Subject: [PATCH] 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. --- modules/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/browser.js b/modules/browser.js index 3d0bcd20..e2cc2325 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -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) ) { /* 複数の子タブを一気に開く場合、最初に開いたタブだけを 子タブの最初の位置に挿入し、続くタブは「最初の開いたタブ」と