Commit 457e504f authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

correctifs rebase.

parents 6d15f88d cae9999a
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ const PLUGIN_NAME = 'apparat';
class ApparatPlugin extends Plugin{
    constructor(name) {
        super(name);

    }

    run() {
@@ -24,7 +23,6 @@ class ApparatPlugin extends Plugin {
        this.hideLacunas(witnessClass);
    }


    witnessTooltiping() {
        document.querySelectorAll('[data-witness]').forEach((e) => {
            let wlist = e.getAttribute("data-witnesses").replace(" ", ", ");
+0 −1
Original line number Diff line number Diff line
@@ -125,7 +125,6 @@ class MaxTEI extends AbstractMax {
            let current = document.getElementById("navigation-tool").querySelector('button').getAttribute("data-target").replace("selected-", "");//remove 'selected' prefix
            let newCurrent = current.replaceAll(".", "\\.")
            let links = document.getElementById('dropdown-navigation').querySelectorAll('li');

            let position = -1;
            links.forEach((link, index) => {
                if(link.dataset.target === newCurrent){