using favicon.keeweb.info to download icons

This commit is contained in:
antelle 2019-02-09 16:05:42 +01:00
parent f0530e2270
commit f729872d70
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ const IconSelectView = Backbone.View.extend({
this.downloadingFavicon = true;
this.$el.find('.icon-select__icon-download>i').addClass('fa-spinner fa-spin');
this.$el.find('.icon-select__icon-download').removeClass('icon-select__icon--download-error');
const url = this.getIconUrl(!Launcher); // inside launcher we can load images without CORS
const url = this.getIconUrl(true);
const img = document.createElement('img');
img.crossOrigin = 'Anonymous';
img.src = url;