mirror of
https://github.com/scratchfoundation/jquery-timeago.git
synced 2024-12-12 08:51:10 -05:00
Fix for nasty typo
This commit is contained in:
parent
3dde17c021
commit
795011da16
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* timeago: a jQuery plugin, version: 0.6.1 (10/14/2008)
|
* timeago: a jQuery plugin, version: 0.6.2 (10/14/2008)
|
||||||
* @requires jQuery v1.2 or later
|
* @requires jQuery v1.2 or later
|
||||||
*
|
*
|
||||||
* Timeago is a jQuery plugin that makes it easy to support automatically
|
* Timeago is a jQuery plugin that makes it easy to support automatically
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
if (this.settings.allowFuture) {
|
if (this.settings.allowFuture) {
|
||||||
if (distanceMillis < 0) {
|
if (distanceMillis < 0) {
|
||||||
prefix = $l.prefixFromNow;
|
prefix = $l.prefixFromNow;
|
||||||
suffix = $l.suffixAgo || $l.fromNow;
|
suffix = $l.suffixFromNow || $l.fromNow;
|
||||||
}
|
}
|
||||||
distanceMillis = Math.abs(distanceMillis);
|
distanceMillis = Math.abs(distanceMillis);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue