mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 551283 - Suspicious and possibly unused code in updates.js updateListener.onProgress. r=dolske
This commit is contained in:
parent
dde124550b
commit
823595d69f
@ -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