Bug 551283 - Suspicious and possibly unused code in updates.js updateListener.onProgress. r=dolske

This commit is contained in:
Robert Strong 2010-03-17 16:12:20 -07:00
parent dde124550b
commit 823595d69f

View File

@ -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));
},
/**