diff --git a/webgis/js/components/NotConservedSheet.js b/webgis/js/components/NotConservedSheet.js index 3f2e729..260e5f5 100644 --- a/webgis/js/components/NotConservedSheet.js +++ b/webgis/js/components/NotConservedSheet.js @@ -44,7 +44,7 @@ export class NotConservedSheet {
+
Autore scheda: ${this._data.author}
`; diff --git a/webgis/js/components/SiteSheet.js b/webgis/js/components/SiteSheet.js index c6cbac4..6504875 100644 --- a/webgis/js/components/SiteSheet.js +++ b/webgis/js/components/SiteSheet.js @@ -40,7 +40,7 @@ export class SiteSheet { renderShort() { return ` -diff --git a/webgis/js/ui.js b/webgis/js/ui.js index 089f30b..532a777 100644 --- a/webgis/js/ui.js +++ b/webgis/js/ui.js @@ -161,6 +161,7 @@ UI.openNotConserModal = async function (data, selector) { biblio.innerHTML = ''; biblio.innerHTML += sheet.getReference(id); biblio.classList.remove('is-hidden'); + biblio.scrollIntoView({behavior: 'smooth'}); } if (event.target.className == 'delete') {