| Issue 21: | mode.timer with retro renderer is not perfect. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I am using mode.timer with retro renderer, when the time changes from morning to afternoon, AM did not properly switch to the PM.
Reasons:
In epiclock.retro.js line 102, when AM switch to the PM, "removeClass('d' + compare[index])" cannot be executed correctly.
Advice:
Insert the following code before line 102.
if((digit==="am"||digit==="pm")&&index==0)
{
compare[index] = digit=="am"?"pm":"am";
}
|