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

This commit is contained in:
Ryan McGeary 2008-08-20 22:34:42 -04:00
parent 2ac5f0421d
commit e9929c1bc5

View file

@ -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);