Skip to content

Commit ab55e33

Browse files
committed
Dispose timeago before init
1 parent 084819d commit ab55e33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jquery.timeago.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
// functions are called with context of a single element
141141
var functions = {
142142
init: function() {
143+
functions.dispose.call(this);
143144
var refresh_el = $.proxy(refresh, this);
144145
refresh_el();
145146
var $s = $t.settings;

0 commit comments

Comments
 (0)