update divs too
This commit is contained in:
parent
357e21a96e
commit
0072cebe51
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ Metamaps.GlobalUI.CreateMap = {
|
|||
bindFormEvents: function () {
|
||||
var self = Metamaps.GlobalUI.CreateMap;
|
||||
|
||||
$('.new_map input').unbind('keypress').bind('keypress', function(event) {
|
||||
$('.new_map input, .new_map div').unbind('keypress').bind('keypress', function(event) {
|
||||
if (event.keyCode === 13) self.submit()
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue