Skip to content

Commit

Permalink
Fix for counter.js used in the countup shortcode. Resolves #637
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanBCole committed Sep 25, 2020
1 parent 53ff3b5 commit a0a63a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/custom/cu_shortcodes/js/counter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
var t = e(this),
r = n,
i = function() {
var e = [],
var e = [t.text()],
n = r.time / r.delay,
i = t.text(),
s = /[0-9]+,[0-9]+/.test(i);
Expand Down

0 comments on commit a0a63a1

Please sign in to comment.