mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 05:49:16 +02:00
Restore saving comment to localstorage
This commit is contained in:
@@ -387,6 +387,10 @@ export function uiCommit(context) {
|
||||
if (changed.comment === undefined) {
|
||||
changed.comment = '';
|
||||
}
|
||||
if (!onInput) {
|
||||
context.storage('comment', changed.comment);
|
||||
context.storage('commentDate', Date.now());
|
||||
}
|
||||
}
|
||||
|
||||
updateChangeset(changed, onInput);
|
||||
|
||||
Reference in New Issue
Block a user