Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Fixed favicon on browsers other than Chrome (fixes #355)
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzzz authored and Leonardo Menezes committed Aug 17, 2016
1 parent d5999bf commit 0511f9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion _site/dist/kopf.js
Original file line number Diff line number Diff line change
Expand Up @@ -5772,7 +5772,6 @@ kopf.factory('PageService', ['ElasticService', 'DebugService', '$rootScope',
context.globalCompositeOperation = 'source-in';
context.fillStyle = color;
context.fillRect(0, 0, 32, 32);
context.fill();
this.link.type = 'image/x-icon';
this.link.href = canvas.toDataURL();
} catch (exception) {
Expand Down
1 change: 0 additions & 1 deletion src/kopf/services/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ kopf.factory('PageService', ['ElasticService', 'DebugService', '$rootScope',
context.globalCompositeOperation = 'source-in';
context.fillStyle = color;
context.fillRect(0, 0, 32, 32);
context.fill();
this.link.type = 'image/x-icon';
this.link.href = canvas.toDataURL();
} catch (exception) {
Expand Down

0 comments on commit 0511f9d

Please sign in to comment.