mirror of
https://github.com/umap-project/umap.git
synced 2025-04-30 04:02:38 +02:00
parent
61de72ce85
commit
60c2b07f9b
1 changed files with 3 additions and 7 deletions
|
@ -453,17 +453,13 @@ U.PermanentCreditsControl = L.Control.extend({
|
|||
},
|
||||
|
||||
onAdd: function () {
|
||||
const paragraphContainer = L.DomUtil.create(
|
||||
this.paragraphContainer = L.DomUtil.create(
|
||||
'div',
|
||||
'umap-permanent-credits-container'
|
||||
'umap-permanent-credits-container text'
|
||||
)
|
||||
const creditsParagraph = L.DomUtil.create('p', '', paragraphContainer)
|
||||
|
||||
this.paragraphContainer = paragraphContainer
|
||||
this.setCredits()
|
||||
this.setBackground()
|
||||
|
||||
return paragraphContainer
|
||||
return this.paragraphContainer
|
||||
},
|
||||
|
||||
setCredits: function () {
|
||||
|
|
Loading…
Reference in a new issue