Initialize "Close Tabs to the Right" menuitem even if Multiple Tab Handler is installed.

ddbd41163b (commitcomment-3731331)
This commit is contained in:
Piro / YUKI Hiroshi 2013-07-28 01:57:50 +09:00
parent ee064c27b9
commit 481bc1c303

View File

@ -852,12 +852,12 @@ TreeStyleTabBrowser.prototype = {
}
tabContextMenu = null;
}, 0, this, b, tabContextMenu);
}
let closeTabsToEnd = d.getElementById(this.kMENUITEM_CLOSE_TABS_TO_END);
if (closeTabsToEnd) {
this._closeTabsToEnd_horizontalLabel = closeTabsToEnd.getAttribute('label');
this._closeTabsToEnd_horizontalAccesskey = closeTabsToEnd.getAttribute('accesskey');
}
let closeTabsToEnd = d.getElementById(this.kMENUITEM_CLOSE_TABS_TO_END);
if (closeTabsToEnd) {
this._closeTabsToEnd_horizontalLabel = closeTabsToEnd.getAttribute('label');
this._closeTabsToEnd_horizontalAccesskey = closeTabsToEnd.getAttribute('accesskey');
}
var removeTabItem = d.getAnonymousElementByAttribute(b, 'id', 'context_closeTab');