1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-07 04:55:57 +01:00

Get rid of some 'config.name' checks in the common tree. These should all, ideally, go.

This commit is contained in:
Kris Maglione
2009-03-22 02:25:05 -04:00
parent c35cca159f
commit cf57844986
7 changed files with 59 additions and 48 deletions

View File

@@ -217,10 +217,10 @@ function Buffer() //{{{
"Stop loading",
function ()
{
if(config.name == "Xulmus")
getBrowser().mCurrentBrowser.stop();
if(config.stop)
config.stop();
else
window.BrowserStop();
window.BrowserStop();
});
// scrolling
@@ -605,8 +605,8 @@ function Buffer() //{{{
"Stop loading",
function ()
{
if (config.name == "Xulmus")
getBrowser().mCurrentBrowser.stop();
if (config.stop)
config.stop();
else
window.BrowserStop();
},