fix for #65994 r=blake, sr=ben

use hidden="false" so that the hidden state of the magic toolbar buttons get persisted
This commit is contained in:
alecf%netscape.com 2006-09-14 05:55:53 +00:00
parent 7434746589
commit 2755eaa923

View File

@ -397,7 +397,7 @@ nsButtonPrefListener.prototype =
var show = pref.GetBoolPref(prefName);
if (show)
button.removeAttribute("hidden");
button.setAttribute("hidden","false");
else
button.setAttribute("hidden", "true");
}