Skip to content

Commit

Permalink
Clear unsaved message
Browse files Browse the repository at this point in the history
  • Loading branch information
slowe committed Aug 14, 2024
1 parent 39a5de3 commit 40988d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/resources/adder.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@
document.body.appendChild(dl);
}
dl.click();
if(document.getElementById('msg-start-edit')) document.getElementById('msg-start-edit').innerHTML = '';
if(document.getElementById('btn-save')) document.getElementById('btn-save').style.display = 'none';
this._unsaved = false;
return this;
};
Expand Down

0 comments on commit 40988d6

Please sign in to comment.