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 () {
|
||||
if (this.feature.hasPopupFooter()) {
|
||||
const footerContainer = L.DomUtil.create(
|
||||
'div',
|
||||
'umap-footer-container',
|
||||
this.container
|
||||
),
|
||||
footer = L.DomUtil.create('ul', 'umap-popup-footer', footerContainer),
|
||||
const footer = L.DomUtil.create('ul', 'umap-popup-footer', this.container),
|
||||
previousLi = L.DomUtil.create('li', 'previous', footer),
|
||||
zoomLi = L.DomUtil.create('li', 'zoom', footer),
|
||||
nextLi = L.DomUtil.create('li', 'next', footer),
|
||||
|
|
Loading…
Reference in a new issue