mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 07:02:38 +01:00
Clear highlighting on page unload, etc.
This commit is contained in:
@@ -104,6 +104,10 @@ const Tabs = Module("tabs", {
|
||||
* @returns {Object}
|
||||
*/
|
||||
// FIXME: why not a tab arg? Why this and the property?
|
||||
// : To the latter question, because this works for any tab, the
|
||||
// property doesn't. And the property is so oft-used that it's
|
||||
// convenient. To the former question, because I think this is mainly
|
||||
// useful for autocommands, and they get index arguments. --Kris
|
||||
getLocalStore: function (tabIndex) {
|
||||
let tab = this.getTab(tabIndex);
|
||||
if (!tab.liberatorStore)
|
||||
@@ -478,7 +482,7 @@ const Tabs = Module("tabs", {
|
||||
tab = this.getBrowser().mTabContainer.selectedItem;
|
||||
|
||||
services.get("windowWatcher")
|
||||
.openWindow(window, window.getBrowserURL(), null, "chrome,dialog=no,all", tab);
|
||||
.openWindow(window, window.getBrowserURL(), null, "chrome,dialog=no,all", tab);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user