Permalink
Browse files

Workaround for the fact that IE6 doesn't support abbr tags

  • Loading branch information...
1 parent 2ac5f04 commit e9929c1bc529da3fe32efe36093f3c5f56326f89 @rmm5t committed Aug 21, 2008
Showing with 6 additions and 1 deletion.
  1. +6 −1 jquery.timeago.js
View
@@ -1,5 +1,5 @@
/*
- * timeago: a jQuery plugin, version: 0.5 (08/19/2008)
+ * timeago: a jQuery plugin, version: 0.5.1 (08/20/2008)
* @requires jQuery v1.2 or later
*
* Timeago is a jQuery plugin that makes it easy to support automatically
@@ -109,4 +109,9 @@
function sprintf(string, value) {
return string.replace(/%d/i, value);
}
+
+ // fix for IE6 suckage
+ if ($.browser.msie && $.browser.version < 7.0) {
+ document.createElement('abbr');
+ }
})(jQuery);

0 comments on commit e9929c1

Please sign in to comment.