Don't turn enter keypress into clicks on map (#5507)
* Don't turn enter keypress into clicks on map But still preserve functionality to open marker's popup through enter keypress when focused. Fixes #5499. * Clean code Thanks @egoroof * Change name of keypress handler to _onKeyPress * Add unit testcarto
parent
d78dc21209
commit
b23d83f464
@ -0,0 +1,11 @@
|
||||
describe('General', function () {
|
||||
describe('noConflict', function () {
|
||||
var leaflet = L;
|
||||
|
||||
after(function () {
|
||||
L = leaflet;
|
||||
});
|
||||
|
||||
expect(L.noConflict()).to.eql(leaflet);
|
||||
});
|
||||
});
|
Loading…
Reference in new issue