Permalink
Browse files

Merge pull request #27 from bruz/master

Force title fallback for IE
  • Loading branch information...
2 parents d2c4139 + 5822ffd commit 7d98a96a1a7514377e7bc20a0a179309769573ca @tommoor committed May 7, 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 7d98a96

Please sign in to comment.