Skip to content

Commit

Permalink
Correctly add "(private tab)" label to Tab Scope popup
Browse files Browse the repository at this point in the history
(fix #78)
  • Loading branch information
Infocatcher committed Jul 20, 2013
1 parent cd3c26d commit 56afa75
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -1734,9 +1734,13 @@ var windowsObserver = {

var tabScope = document.getElementById("tabscope-popup");
if(tabScope && "TabScope" in window && "_updateTitle" in window.TabScope) {
var tsTitle = document.getElementById("tabscope-title");
var tsContainer = tsTitle && tsTitle.parentNode
|| document.getElementById("tabscope-container")
|| tabScope;
var tsTipLabel = tabTipLabel.cloneNode(true);
tsTipLabel.id = this.tabScopeTipId;
tabScope.appendChild(tsTipLabel);
tsContainer.appendChild(tsTipLabel);
var _this = this;
patcher.wrapFunction(
window.TabScope, "_updateTitle", "TabScope._updateTitle",
Expand Down

0 comments on commit 56afa75

Please sign in to comment.