Skip to content

Commit

Permalink
doc(GeometryViewer): Fix progress loading
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Feb 28, 2018
1 parent 8d67bf5 commit 3ebdd53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Applications/GeometryViewer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export function load(container, options) {

const progressCallback = (progressEvent) => {
const percent = Math.floor(
100 * progressEvent.loaded / progressEvent.total / (urls.length + 1)
100 * progressEvent.loaded / progressEvent.total
);
progressContainer.innerHTML = `Loading ${percent}%`;
};
Expand Down

0 comments on commit 3ebdd53

Please sign in to comment.