Loading ui/js/MaxTEI.js +1 −6 Original line number Diff line number Diff line Loading @@ -72,14 +72,12 @@ class MaxTEI extends AbstractMax { document.querySelectorAll("." + optionName).forEach((e) => { e.style.display = 'inline'; }) //$("." + optionName).show(); } else { e.removeAttribute('checked'); //updates visibility document.querySelectorAll("." + optionName).forEach((e) => { e.style.display = 'hidden'; e.style.display = 'none'; }) //$("." + optionName).hide(); } }); Loading @@ -101,7 +99,6 @@ class MaxTEI extends AbstractMax { let originalTop = manchette.offsetTop//$(this).position().top; //déplacement de la note dans la colonne prévue marginNode.append(manchette); //$(this).appendTo("#margin_notes"); //mise à jour top (+anti-chevauchement) let newTop = originalTop; if (previousNote != null && previousNote.offsetTop) { Loading @@ -111,7 +108,6 @@ class MaxTEI extends AbstractMax { } } manchette.style.top = newTop + "px"; //$(this).css("top", newTop + "px"); previousNote = manchette;//$(this); }); Loading Loading @@ -164,7 +160,6 @@ class MaxTEI extends AbstractMax { }) localStorage.setItem(window.MAX_LOCAL_STORAGE_PREFIX + className, window.MAX_VISIBLE_PROPERTY_STRING); } else { //$("." + className).hide(); document.querySelectorAll('.'+className).forEach((e) => { e.style.display='none' }) Loading Loading
ui/js/MaxTEI.js +1 −6 Original line number Diff line number Diff line Loading @@ -72,14 +72,12 @@ class MaxTEI extends AbstractMax { document.querySelectorAll("." + optionName).forEach((e) => { e.style.display = 'inline'; }) //$("." + optionName).show(); } else { e.removeAttribute('checked'); //updates visibility document.querySelectorAll("." + optionName).forEach((e) => { e.style.display = 'hidden'; e.style.display = 'none'; }) //$("." + optionName).hide(); } }); Loading @@ -101,7 +99,6 @@ class MaxTEI extends AbstractMax { let originalTop = manchette.offsetTop//$(this).position().top; //déplacement de la note dans la colonne prévue marginNode.append(manchette); //$(this).appendTo("#margin_notes"); //mise à jour top (+anti-chevauchement) let newTop = originalTop; if (previousNote != null && previousNote.offsetTop) { Loading @@ -111,7 +108,6 @@ class MaxTEI extends AbstractMax { } } manchette.style.top = newTop + "px"; //$(this).css("top", newTop + "px"); previousNote = manchette;//$(this); }); Loading Loading @@ -164,7 +160,6 @@ class MaxTEI extends AbstractMax { }) localStorage.setItem(window.MAX_LOCAL_STORAGE_PREFIX + className, window.MAX_VISIBLE_PROPERTY_STRING); } else { //$("." + className).hide(); document.querySelectorAll('.'+className).forEach((e) => { e.style.display='none' }) Loading