Commit b04634df authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

correctif restes Jquery

parent ff88d5ba
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
# Changelog

## [1.1.0-rc4] - 16/10/2023
## [1.1.0-rc4] - 19/06/2024

* Mise en place d'un Makefile utilisateur
* Mise en place d'un Makefile de dév
* Mise à jour du plugin mirador-viewer pour passage des options
* Correctif JS (MaXTEI.js)

## [1.1.0-rc3] - 20/04/2023

+1 −10
Original line number Diff line number Diff line
@@ -45,16 +45,7 @@ class MaxTEI extends AbstractMax {
    }

    scrollToID(id) {
        this.scrollToElement($("#" + id.replaceAll(".", "\\.")));
    }

    scrollToElement(element, delay) {
        let offset = $('#topbar').length === 1 ? $('#topbar').height()
            + ($('#breadcrumb').length === 1 ? $('#breadcrumb').height() : 0) + 10 : 0;
        if (element.offset() != null)
            $('html, body').animate({
                scrollTop: element.offset().top - offset
            }, delay);
        document.getElementById(id).scrollIntoView({block: "center"});
    }

    textOptions() {