I have a problem with a countdown timer in the header banner using a HTML_BLOCK and Visual Composer component.
The countdown timer only works if I use another one in the page content, I need to have 1 countdown timer in everypage to make work the one at the header banner.
It looks like a JS problem. Can you help me to fix it?
Thank you so much.
PD: The console error is:
Uncaught ReferenceError: moment is not defined
at HTMLDivElement.<anonymous> (functions.min.js?ver=2.5.1:2)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at Object.countDownTimer (functions.min.js?ver=2.5.1:2)
at Object.init (functions.min.js?ver=2.5.1:1)
at HTMLDocument.<anonymous> (functions.min.js?ver=2.5.1:2)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)