use preprocessor instead of checking navigator.platform for click selects all.
git-svn-id: svn://10.0.0.236/trunk@131923 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8481f9fe74
commit
5a928a179d
@ -76,7 +76,11 @@ var gNavigatorBundle;
|
||||
var gLastValidURLStr = "";
|
||||
var gLastValidURL = null;
|
||||
var gHaveUpdatedToolbarState = false;
|
||||
#ifdef XP_WIN
|
||||
var gClickSelectsAll = true;
|
||||
#else
|
||||
var gClickSelectsAll = false;
|
||||
#endif
|
||||
var gIgnoreFocus = false;
|
||||
var gIgnoreClick = false;
|
||||
var gToolbarMode = "icons";
|
||||
@ -380,10 +384,6 @@ function Startup()
|
||||
}
|
||||
}
|
||||
|
||||
// does clicking on the urlbar select its contents?
|
||||
if (navigator.platform.indexOf("Win") == -1)
|
||||
gClickSelectsAll = false;
|
||||
|
||||
// Focus the content area unless we're loading a blank page
|
||||
var elt;
|
||||
if (uriToLoad == "about:blank" && !toolbar.hidden &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user