зеркало из https://github.com/mozilla/gecko-dev.git
REmove stray '}' that causes a JS error. Bug 227623, r=neil, sr=alecf, a=dbaron
This commit is contained in:
Родитель
8f16a6997a
Коммит
18761c1e6b
|
@ -60,12 +60,11 @@ function javascriptEnabledChange(){
|
|||
}
|
||||
|
||||
function Startup(){
|
||||
//If we don't have a checkbox under groupbox pluginPreferences, we should hide it
|
||||
var pluginGroup = document.getElementById("pluginPreferences")
|
||||
var children = pluginGroup.childNodes;
|
||||
if (!children || children.length <= 1) // 1 for the caption
|
||||
pluginGroup.setAttribute("hidden", "true");
|
||||
}
|
||||
//If we don't have a checkbox under groupbox pluginPreferences, we should hide it
|
||||
var pluginGroup = document.getElementById("pluginPreferences");
|
||||
var children = pluginGroup.childNodes;
|
||||
if (!children || children.length <= 1) // 1 for the caption
|
||||
pluginGroup.setAttribute("hidden", "true");
|
||||
|
||||
javascriptEnabledChange();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче