b23d83f464
* 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 test
12 lines
188 B
JavaScript
12 lines
188 B
JavaScript
describe('General', function () {
|
|
describe('noConflict', function () {
|
|
var leaflet = L;
|
|
|
|
after(function () {
|
|
L = leaflet;
|
|
});
|
|
|
|
expect(L.noConflict()).to.eql(leaflet);
|
|
});
|
|
});
|