Skip to content

Commit

Permalink
fix pbar nan
Browse files Browse the repository at this point in the history
  • Loading branch information
kklai committed Mar 30, 2016
1 parent 40d070f commit d23ce1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai2html.js
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ if (doc.documentColorSpace!="DocumentColorSpace.RGB") {
var artboardAspectRatio = abH/abW;

pBar.setTitle(docArtboardName + ': Starting to generate HTML...');
pBar.setProgress(abNumber/(doc.artboards.length-1));
pBar.setProgress(abNumber/(doc.artboards.length));

// for determining which artboard to use for promo image
// if (abW>=largestArtboardWidth) {
Expand Down

0 comments on commit d23ce1c

Please sign in to comment.