Remove hopefully unnecessary hack dating to Firefox 3.1
This commit is contained in:
parent
46cce5a2bd
commit
c722ec888f
1 changed files with 0 additions and 5 deletions
|
@ -44,11 +44,6 @@ Zotero.Sync.Storage.StreamListener.prototype = {
|
||||||
|
|
||||||
// nsIProgressEventSink
|
// nsIProgressEventSink
|
||||||
onProgress: function (request, context, progress, progressMax) {
|
onProgress: function (request, context, progress, progressMax) {
|
||||||
// Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=451991
|
|
||||||
// (fixed in Fx3.1)
|
|
||||||
if (progress > progressMax) {
|
|
||||||
progress = progressMax;
|
|
||||||
}
|
|
||||||
Zotero.debug("onProgress with " + progress + "/" + progressMax);
|
Zotero.debug("onProgress with " + progress + "/" + progressMax);
|
||||||
this._onProgress(request, progress, progressMax);
|
this._onProgress(request, progress, progressMax);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue