Bug 839701 - Use hidden=true/false instead of display=inline/none for hiding and showing the progress bar. r=rnewman

This commit is contained in:
Jared Wein 2013-02-11 13:49:22 -05:00
parent 0b09a3efd7
commit 286b0c52b4

View File

@ -18,10 +18,10 @@ function onLoad(event) {
gProgressBar = document.getElementById('uploadProgressBar');
if (Services.prefs.getPrefType("services.sync.firstSync") != Ci.nsIPrefBranch.PREF_INVALID) {
gProgressBar.style.display = "inline";
gProgressBar.hidden = false;
}
else {
gProgressBar.style.display = "none";
gProgressBar.hidden = true;
}
}