truonglv
Well-known member
As title. When i do update the DateTime element. The DateTime still get the old value.
Because this line:
I think it should be:
Because this line:
Code:
thisDiff = parseInt($element.data('diff'), 10);
thisTime = parseInt($element.data('time'), 10);
I think it should be:
Code:
thisDiff = parseInt($element.attr('data-diff'), 10);
thisTime = parseInt($element.attr('data-time'), 10);