mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
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:
parent
0b09a3efd7
commit
286b0c52b4
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user