From ce79df3ccfc65b3089b2c0d04e5787fca445781d Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sun, 7 Dec 2003 18:54:59 +0000 Subject: [PATCH] REmove stray '}' that causes a JS error. Bug 227623, r=neil, sr=alecf, a=dbaron git-svn-id: svn://10.0.0.236/trunk@150127 18797224-902f-48f8-a5cc-f745e15eee43 --- .../prefwindow/resources/content/pref-scripts.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mozilla/xpfe/components/prefwindow/resources/content/pref-scripts.js b/mozilla/xpfe/components/prefwindow/resources/content/pref-scripts.js index 89f750a1236..770ed1abef5 100644 --- a/mozilla/xpfe/components/prefwindow/resources/content/pref-scripts.js +++ b/mozilla/xpfe/components/prefwindow/resources/content/pref-scripts.js @@ -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(); }