mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-26 09:57:50 +02:00
Remove commit message save on click
Clicking the save button will blur the commit message textarea and trigger a save.
This commit is contained in:
+1
-8
@@ -90,14 +90,7 @@ iD.ui.Commit = function(context) {
|
||||
|
||||
// Confirm Button
|
||||
var saveButton = saveSection.append('button')
|
||||
.attr('class', 'action col3 button')
|
||||
.on('click.save', function() {
|
||||
var comment = commentField.node().value;
|
||||
localStorage.comment = comment;
|
||||
event.save({
|
||||
comment: comment
|
||||
});
|
||||
});
|
||||
.attr('class', 'action col3 button');
|
||||
|
||||
saveButton.append('span')
|
||||
.attr('class', 'label')
|
||||
|
||||
Reference in New Issue
Block a user