Fix next/previous in popup footer in panel not openning next panel
fix #1400 cf #1240
This commit is contained in:
parent
c16a01778b
commit
9e33144d34
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ L.U.PopupTemplate.Default = L.Class.extend({
|
|||
nextLi = L.DomUtil.create('li', 'next', footer),
|
||||
next = this.feature.getNext(),
|
||||
prev = this.feature.getPrevious()
|
||||
// Fixme: remove me when this is merged and released
|
||||
// https://github.com/Leaflet/Leaflet/pull/9052
|
||||
L.DomEvent.disableClickPropagation(footer)
|
||||
if (next)
|
||||
nextLi.title = L._('Go to «{feature}»', {
|
||||
feature: next.properties.name || L._('next'),
|
||||
|
|
Loading…
Reference in a new issue