Skip to content

Commit

Permalink
Ensure global onFirstPrivateTab() called
Browse files Browse the repository at this point in the history
(related to changes for #42)
  • Loading branch information
Infocatcher committed May 1, 2013
1 parent 575acd6 commit 1d9ac0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ var windowsObserver = {
this.toggleTabPrivate(tab, isPrivate);
if(isPrivate) {
var window = tab.ownerDocument.defaultView;
this.onFirstPrivateTab(window, tab);
window.privateTab._onFirstPrivateTab(window, tab);
}
}
Expand Down

0 comments on commit 1d9ac0b

Please sign in to comment.