Commit 912a166b authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

debug js sélecteur notes de marge

parent 0462fd7e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -14,8 +14,9 @@ class Max {

    run() {
        if (this.isInFragmentContext()) {

            console.log("ok")
            if (this.isWithNotes()) {
            console.log("ok2")
                //ajout d'une colonne de notes + placement
                this.manageMarginNotes();
                this.bindNotesClick();
@@ -196,7 +197,7 @@ class Max {
    }

    isWithNotes() {
        return $(".note").length > 0;
        return $(".appel_note_marge").length > 0;
    }

    /*Affichage / masquage des éléments d'une classe CSS depuis un checkBox