File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,6 @@ function deleteNote(notediv) {
206206 }
207207}
208208
209-
210-
211209function countDown ( epoch_timestamp ) {
212210 var now = new Date ( ) . getTime ( ) ;
213211 // Find the distance between now and the count down date
@@ -351,8 +349,8 @@ function editNote(notediv) {
351349 html = `<div name=${ matching . noteid } class="editor" id="editpad">
352350 <input name="title" type="text" id="title">
353351 <textarea style="margin-top: 20px;" name="notebody" id="notebody"></textarea>
354- <button onclick='update(this)' name="${ matching . noteid } " class="btn btnnote" style="float: left; background-color: #ddd;" onMouseOut="this.style.color='crimson'" onMouseOver="this.style.color='green'"><i class="fa fa-check fa-lg" aria-hidden="true"></i> OK</button>
355- <button onclick='cancelEdit(this)' name="${ matching . noteid } " class="btn btnnote" style="float: right; background-color: #ddd;" onMouseOut="this.style.color='crimson'" onMouseOver="this.style.color='green'"><i class="fas fa-window-close fa-lg"></i> Cancel</button>
352+ <button onclick='update(this)' name="${ matching . noteid } " class="btn btnnote" style="float: left; background-color: #ddd; margin-top: 17px; " onMouseOut="this.style.color='crimson'" onMouseOver="this.style.color='green'"><i class="fa fa-check fa-lg" aria-hidden="true"></i> OK</button>
353+ <button onclick='cancelEdit(this)' name="${ matching . noteid } " class="btn btnnote" style="float: right; background-color: #ddd;margin-top: 17px; " onMouseOut="this.style.color='crimson'" onMouseOver="this.style.color='green'"><i class="fas fa-window-close fa-lg"></i> Cancel</button>
356354 </div>`
357355 editBox . innerHTML = html ;
358356 document . getElementById ( "title" ) . value = turndownService . turndown ( marked ( matching . title ) ) ;
You can’t perform that action at this time.
0 commit comments