Skip to content

Commit

Permalink
Highlight private tabs
Browse files Browse the repository at this point in the history
Required styles from patches for Infocatcher/Private_Tab#113
  • Loading branch information
Infocatcher committed Nov 13, 2013
1 parent d46928c commit e0d5686
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Undo_Close_Tabs/undoCloseTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,12 @@ this.undoCloseTabsList = {
cb_index: i,
cb_type: "tab"
});
if(
undoItem.state
&& "attributes" in undoItem.state
&& "privateTab-isPrivate" in undoItem.state.attributes
) // https://addons.mozilla.org/addon/private-tab/
mi.setAttribute("privateTab-isPrivate", "true");
if(this.cm)
mi.setAttribute("context", this.cmId);
var image = undoItem.image // Firefox
Expand Down

0 comments on commit e0d5686

Please sign in to comment.