mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
Bug 551283 - Suspicious and possibly unused code in updates.js updateListener.onProgress. r=dolske
This commit is contained in:
parent
8517a5a984
commit
aa12b16132
@ -584,8 +584,8 @@ var gCheckingPage = {
|
||||
*/
|
||||
onProgress: function(request, position, totalSize) {
|
||||
var pm = document.getElementById("checkingProgress");
|
||||
checkingProgress.setAttribute("mode", "normal");
|
||||
checkingProgress.setAttribute("value", Math.floor(100 * (position / totalSize)));
|
||||
pm.mode = "normal";
|
||||
pm.value = Math.floor(100 * (position / totalSize));
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user