The jQuery Countdown Timer adds extra numbers when the Block Refresh module refreshes another block.

picture is attached, it shows the extra numbers after a refresh.

CommentFileSizeAuthor
example.png3.78 KBdeme18

Comments

Miszel’s picture

Could you change line 6 in js/jquery_countdown_timer_init.js from:

$('#jquery-countdown-timer').countdown({

to:

$('#jquery-countdown-timer').not('.jquery-countdown-timer-processed').addClass('jquery-countdown-timer-processed').countdown({

and let me know if it fixes the problem?

deme18’s picture

Status: Active » Fixed

yes it seems to have fixed the problem.

Thank you for you help.

Miszel’s picture

Thanks, I pushed it to git.

Miszel’s picture

The fix is in the dev branch

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.