diff options
author | Chris Lawrence | 2013-06-21 17:57:09 -0400 |
---|---|---|
committer | Chris Lawrence | 2013-06-21 17:57:09 -0400 |
commit | 7b119763f82fab69fd43c49f4af39481dd556cab (patch) | |
tree | 3aa6b5bec29132c22afa552beb851c8f785daa16 /plugin/notes/notes.html | |
parent | 636a6661978d04791bc899be65d7c3fd23eea125 (diff) | |
parent | e51c0fc3ce3568eb325b87fe60ca7bdd07861150 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'plugin/notes/notes.html')
-rw-r--r-- | plugin/notes/notes.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html index 830045d..8af43fb 100644 --- a/plugin/notes/notes.html +++ b/plugin/notes/notes.html @@ -14,6 +14,7 @@ font-size: 24px; width: 640px; margin-top: 5px; + clear: left; } #wrap-current-slide { @@ -212,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 ); |