REmove stray '}' that causes a JS error. Bug 227623, r=neil, sr=alecf, a=dbaron

This commit is contained in:
bzbarsky%mit.edu 2006-05-17 02:36:56 +00:00
Родитель 7da2cedce8
Коммит b181ac978c
1 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -61,11 +61,10 @@ function javascriptEnabledChange(){
function Startup(){ function Startup(){
//If we don't have a checkbox under groupbox pluginPreferences, we should hide it //If we don't have a checkbox under groupbox pluginPreferences, we should hide it
var pluginGroup = document.getElementById("pluginPreferences") var pluginGroup = document.getElementById("pluginPreferences");
var children = pluginGroup.childNodes; var children = pluginGroup.childNodes;
if (!children || children.length <= 1) // 1 for the caption if (!children || children.length <= 1) // 1 for the caption
pluginGroup.setAttribute("hidden", "true"); pluginGroup.setAttribute("hidden", "true");
}
javascriptEnabledChange(); javascriptEnabledChange();
} }