mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-30 12:15:54 +01:00
move reload() and reload_all() global functions to vimperator.tabs
This commit is contained in:
@@ -373,14 +373,14 @@ function Mappings() //{{{
|
||||
}
|
||||
));
|
||||
addDefaultMap(new Map(vimperator.modes.NORMAL, ["r"],
|
||||
function(count) { reload(getBrowser().mCurrentTab, false); },
|
||||
function(count) { vimperator.tabs.reload(getBrowser().mCurrentTab, false); },
|
||||
{
|
||||
short_help: "Reload",
|
||||
help: "Forces reloading of the current page."
|
||||
}
|
||||
));
|
||||
addDefaultMap(new Map(vimperator.modes.NORMAL, ["R"],
|
||||
function(count) { reload(getBrowser().mCurrentTab, true); },
|
||||
function(count) { vimperator.tabs.reload(getBrowser().mCurrentTab, true); },
|
||||
{
|
||||
short_help: "Reload while skipping the cache",
|
||||
help: "Forces reloading of the current page skipping the cache."
|
||||
|
||||
Reference in New Issue
Block a user