www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 91dcc272e4f39ae06f6febd844a0e23c593266c9
parent 560eb37d0b1d6a354f842c2d6bf90e9d8ab889ed
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 12 Apr 2016 15:50:21 -0400

Merge pull request #946 from jlegewie/patch-1

Bug fix progressWindow.js: nArcs undefined
Diffstat:
Mchrome/content/zotero/xpcom/progressWindow.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/progressWindow.js b/chrome/content/zotero/xpcom/progressWindow.js @@ -332,6 +332,7 @@ Zotero.ProgressWindow = function(_window = null) { this.ItemProgress.prototype.setProgress = _deferUntilWindowLoad(function(percent) { if(percent != 0 && percent != 100) { // Indication of partial progress, so we will use the circular indicator + var nArcs = 20; this._image.style.backgroundImage = "url('chrome://zotero/skin/progress_arcs.png')"; this._image.style.backgroundPosition = "-"+(Math.round(percent/100*nArcs)*16)+"px 0"; this._hbox.style.opacity = percent/200+.5;