mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
Fallback for browsers that do not support localStorage. Fixes #591
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ iD.ui.commit = function(context) {
|
||||
comment_section.append('textarea')
|
||||
.attr('class', 'changeset-comment')
|
||||
.attr('placeholder', 'Brief Description of your contributions')
|
||||
.property('value', localStorage.comment || '')
|
||||
.property('value', context.storage('comment') || '')
|
||||
.node().select();
|
||||
|
||||
var commit_info =
|
||||
|
||||
Reference in New Issue
Block a user