Permalink
Browse files

Use title fallback for IE

  • Loading branch information...
1 parent d2c4139 commit 5822ffdda037c2dba7211fb78e7562d5ae7c7688 @bruz bruz committed Mar 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 tinycon.js
View
@@ -33,6 +33,7 @@
}());
var browser = {
+ ie: ua('msie'),
chrome: ua('chrome'),
webkit: ua('chrome') || ua('safari'),
safari: ua('safari') && !ua('chrome'),
@@ -104,7 +105,7 @@
var drawFavicon = function(num, colour) {
// fallback to updating the browser title if unsupported
- if (!getCanvas().getContext || browser.safari || options.fallback === 'force') {
+ if (!getCanvas().getContext || browser.ie || browser.safari || options.fallback === 'force') {
return updateTitle(num);
}

0 comments on commit 5822ffd

Please sign in to comment.