diff options
author | Hakim El Hattab | 2013-06-10 16:53:41 -0400 |
---|---|---|
committer | Hakim El Hattab | 2013-06-10 16:53:41 -0400 |
commit | 7094f44eb9668f43046836936d1a925fc8698e49 (patch) | |
tree | d5206ace53b767ed4a9836c300cdfa7d5f7bd041 /plugin/notes | |
parent | 8b355eaba0aa1fc51c8284b02f3f9a6f7ab64410 (diff) | |
parent | 424f8ee9618803d96a31d363597d0b25f876497f (diff) |
merge conflicts w preview & backgrounds
Diffstat (limited to 'plugin/notes')
-rw-r--r-- | plugin/notes/notes.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html index 2333878..8af43fb 100644 --- a/plugin/notes/notes.html +++ b/plugin/notes/notes.html @@ -213,9 +213,9 @@ now = new Date(); diff = now.getTime() - start.getTime(); - hours = parseInt( diff / ( 1000 * 60 * 60 ) ); - minutes = parseInt( ( diff / ( 1000 * 60 ) ) % 60 ); - seconds = parseInt( ( diff / 1000 ) % 60 ); + hours = Math.floor( diff / ( 1000 * 60 * 60 ) ); + minutes = Math.floor( ( diff / ( 1000 * 60 ) ) % 60 ); + seconds = Math.floor( ( diff / 1000 ) % 60 ); clockEl.innerHTML = now.toLocaleTimeString(); hoursEl.innerHTML = zeroPadInteger( hours ); |