1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 03:58:00 +01:00

Formatting fixes.

This commit is contained in:
Doug Kearns
2009-03-16 16:24:09 +11:00
parent 80beaa41df
commit 1ca0bc0de4
10 changed files with 205 additions and 213 deletions

View File

@@ -42,7 +42,7 @@ function Buffer() //{{{
////////////////////// PRIVATE SECTION /////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
// FIXME: This doesn't belong here.
// FIXME: This doesn't belong here.
let mainWindowID = config.mainWindowID || "mainplayer";
let fontSize = util.computedStyle(document.getElementById(mainWindowID)).fontSize;
@@ -215,12 +215,12 @@ function Buffer() //{{{
mappings.add(myModes, ["<C-c>"],
"Stop loading",
function ()
function ()
{
if(config.name == "Xulmus")
getBrowser().mCurrentBrowser.stop();
else
window.BrowserStop();
window.BrowserStop();
});
// scrolling
@@ -603,12 +603,12 @@ function Buffer() //{{{
commands.add(["st[op]"],
"Stop loading",
function ()
{
if(config.name == "Xulmus")
function ()
{
if (config.name == "Xulmus")
getBrowser().mCurrentBrowser.stop();
else
window.BrowserStop();
window.BrowserStop();
},
{ argCount: "0" });