mirror of
https://github.com/scratchfoundation/jquery-timeago.git
synced 2025-02-16 16:10:54 -05:00
Workaround for the fact that IE6 doesn't support abbr tags
This commit is contained in:
parent
2ac5f0421d
commit
e9929c1bc5
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue