When the map popup is closed, return focus to the map.
This commit is contained in:
parent
797a8c4428
commit
19579e91df
|
@ -11,6 +11,9 @@
|
|||
$(element).once('farm-map', function () {
|
||||
$(element).attr('tabIndex', 0);
|
||||
farmOS.map.create($(element).attr('id'), options);
|
||||
$('.ol-popup-closer', context).click(function () {
|
||||
$(element).focus();
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue