Skip to content

Commit

Permalink
Fix rmm5t#363: Replace jQuery deprecated methods trim and isFunction …
Browse files Browse the repository at this point in the history
…and proxy
  • Loading branch information
melloware committed Nov 2, 2020
1 parent 5bc78c8 commit 016b8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.timeago.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
var functions = {
init: function() {
functions.dispose.call(this);
var refresh_el = $.proxy(refresh, this);
var refresh_el = refresh.bind(this);
refresh_el();
var $s = $t.settings;
if ($s.refreshMillis > 0) {
Expand Down

0 comments on commit 016b8ba

Please sign in to comment.