Skip to content
Browse files

Font awesome to favicon is now more reliable

  • Loading branch information...
1 parent 776af58 commit 5600ba3b5037466534c9eb83e49e513b91b5e383 @stolksdorf committed Feb 6, 2014
Showing with 4 additions and 4 deletions.
  1. +2 −2 paintjob.compiled.html
  2. +2 −2 paintjob/libs/FontAwesomeFavicon.js
View
4 paintjob.compiled.html
2 additions, 2 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
4 paintjob/libs/FontAwesomeFavicon.js
@@ -43,8 +43,8 @@ FontAwesomeFavicon = function(iconName){
var iconChar = FAtoChar(iconName);
if(!iconChar) return;
var url = charToIconUrl(iconChar);
+ if(url == 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAyklEQVRoQ+2ZwQmAMBAEo7XZgF1Yg034shybEvx7YgOZQILEEfLbJO7scg8dUifP0ImPpJGvJWkiJlKJgNWqBLb4WBMpRldpo4lUAlt87G8TGQPZHmspRpe3cQrZkSd9VTSRx8gWa411kYuAdg7tqZFMYiaSCeqRWS0AK1ktQMtqAVhWi8CyWoSWUwvQsloAllOLwLJahJZTC9CyWgCWU4vAslqEllML0LJaAJZTi8CyWoRWN1/jiemmWvpboenLkcs0Qmi10HaTyA36YHgzqZSIngAAAABJRU5ErkJggg==') return;
iconUrlToFavicon(url);
clearInterval(timeout);
}, 10);
-
-};
+};

0 comments on commit 5600ba3

Please sign in to comment.
Something went wrong with that request. Please try again.