123456789101112131415161718 |
- // éléments justifiés pas nécessaires
- if (debug) console.log('start unjustifyLastSplit');
- (function() {
- let justifiedSplitElements = document.querySelectorAll("[data-align-last-split-element='justify']");
- for (let justifiedSplitEl of justifiedSplitElements) {
- for (let elChild of justifiedSplitEl.childNodes) {
- let elStyle = elChild.style;
- if (elStyle != undefined) {
- elStyle.textAlignLast = "left";
- }
- }
- }
- })();
- if (debug) console.log('end unjustifyLastSplit');
|