Skip to content

Instantly share code, notes, and snippets.

@caisui
Created December 2, 2010 17:04
Show Gist options
  • Save caisui/725674 to your computer and use it in GitHub Desktop.
Save caisui/725674 to your computer and use it in GitHub Desktop.
diff --git a/common/content/modes.js b/common/content/modes.js
--- a/common/content/modes.js
+++ b/common/content/modes.js
@@ -226,6 +226,8 @@
this._modeStack = [];
if (config.isComposeWindow)
this.set(modes.COMPOSE, modes.NONE, silent);
+ else if (liberator.has("tabview") && TabView.isVisible() && liberator.mode !== modes.PANORAMA)
+ this.set(modes.PANORAMA, modes.NONE, silent);
else
this.set(modes.NORMAL, modes.NONE, silent);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment