Skip to content

Commit

Permalink
Embedding Projector: Fix bug with loading sprite image hosted on exte…
Browse files Browse the repository at this point in the history
…rnal site.

Change: 141092961
  • Loading branch information
jameswex authored and tensorflower-gardener committed Dec 5, 2016
1 parent 502675b commit bdf7103
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ export function fetchImage(url: string): Promise<HTMLImageElement> {
let image = new Image();
image.onload = () => resolve(image);
image.onerror = (err) => reject(err);
image.crossOrigin = '';
image.src = url;
});
}
Expand Down

0 comments on commit bdf7103

Please sign in to comment.