Remove DOM unused element from popup
This commit is contained in:
parent
fef82818e1
commit
8701358b2b
1 changed files with 1 additions and 6 deletions
|
@ -116,12 +116,7 @@ L.U.PopupTemplate.Default = L.Class.extend({
|
||||||
|
|
||||||
renderFooter: function () {
|
renderFooter: function () {
|
||||||
if (this.feature.hasPopupFooter()) {
|
if (this.feature.hasPopupFooter()) {
|
||||||
const footerContainer = L.DomUtil.create(
|
const footer = L.DomUtil.create('ul', 'umap-popup-footer', this.container),
|
||||||
'div',
|
|
||||||
'umap-footer-container',
|
|
||||||
this.container
|
|
||||||
),
|
|
||||||
footer = L.DomUtil.create('ul', 'umap-popup-footer', footerContainer),
|
|
||||||
previousLi = L.DomUtil.create('li', 'previous', footer),
|
previousLi = L.DomUtil.create('li', 'previous', footer),
|
||||||
zoomLi = L.DomUtil.create('li', 'zoom', footer),
|
zoomLi = L.DomUtil.create('li', 'zoom', footer),
|
||||||
nextLi = L.DomUtil.create('li', 'next', footer),
|
nextLi = L.DomUtil.create('li', 'next', footer),
|
||||||
|
|
Loading…
Reference in a new issue