mirror of https://github.com/keeweb/keeweb.git
using favicon.keeweb.info to download icons
This commit is contained in:
parent
f0530e2270
commit
f729872d70
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue