mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-07 08:25:46 +01:00
Get rid of some 'config.name' checks in the common tree. These should all, ideally, go.
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user