Skip to content

Commit 66aed8f

Browse files
committed
Rename to autoDispose
1 parent aa7fcae commit 66aed8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.timeago.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
allowFuture: false,
4646
localeTitle: false,
4747
cutoff: 0,
48-
checkVisibility: true,
48+
autoDispose: true,
4949
strings: {
5050
prefixAgo: null,
5151
prefixFromNow: null,
@@ -181,7 +181,7 @@
181181
var $s = $t.settings;
182182

183183
//check if it's still visible
184-
if($s.checkVisibility && !$.contains(document.documentElement,this)){
184+
if($s.autoDispose && !$.contains(document.documentElement,this)){
185185
//stop if it has been removed
186186
$(this).timeago("dispose");
187187
return this;

0 commit comments

Comments
 (0)