mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:48:00 +01:00
Define missing window#BrowserStop and window#toJavascriptConsole.
This commit is contained in:
@@ -215,13 +215,7 @@ function Buffer() //{{{
|
||||
|
||||
mappings.add(myModes, ["<C-c>"],
|
||||
"Stop loading",
|
||||
function ()
|
||||
{
|
||||
if(config.name == "Xulmus")
|
||||
getBrowser().mCurrentBrowser.stop();
|
||||
else
|
||||
window.BrowserStop();
|
||||
});
|
||||
function () { window.BrowserStop(); });
|
||||
|
||||
// scrolling
|
||||
mappings.add(myModes, ["j", "<Down>", "<C-e>"],
|
||||
@@ -603,13 +597,7 @@ function Buffer() //{{{
|
||||
|
||||
commands.add(["st[op]"],
|
||||
"Stop loading",
|
||||
function ()
|
||||
{
|
||||
if (config.name == "Xulmus")
|
||||
getBrowser().mCurrentBrowser.stop();
|
||||
else
|
||||
window.BrowserStop();
|
||||
},
|
||||
function () { window.BrowserStop(); },
|
||||
{ argCount: "0" });
|
||||
|
||||
commands.add(["vie[wsource]"],
|
||||
|
||||
Reference in New Issue
Block a user