wip: move owner link above tabs in caption

This commit is contained in:
Yohan Boniface 2024-04-30 20:11:34 +02:00
parent d013d6b0e3
commit b550c93b87

View file

@ -667,8 +667,8 @@ const ControlsMixin = {
displayCaption: function () { displayCaption: function () {
const container = L.DomUtil.create('div', 'umap-caption') const container = L.DomUtil.create('div', 'umap-caption')
L.DomUtil.createTitle(container, this.options.name, 'icon-caption') L.DomUtil.createTitle(container, this.options.name, 'icon-caption')
this.browser.tabsMenu(container, 'info')
this.permissions.addOwnerLink('h5', container) this.permissions.addOwnerLink('h5', container)
this.browser.tabsMenu(container, 'info')
if (this.options.description) { if (this.options.description) {
const description = L.DomUtil.element({ const description = L.DomUtil.element({
tagName: 'div', tagName: 'div',