Remove selection debug

This commit is contained in:
morethanwords 2021-09-15 16:10:05 +04:00
parent 41587698f2
commit 633413ab97

View File

@ -137,7 +137,7 @@ class AppSelection {
const slice = elements.slice(firstIndex + 1, lastIndex); const slice = elements.slice(firstIndex + 1, lastIndex);
console.log('getElementsBetween', first, last, slice, firstIndex, lastIndex, isHigher); // console.log('getElementsBetween', first, last, slice, firstIndex, lastIndex, isHigher);
return slice; return slice;
}; };
@ -202,7 +202,7 @@ class AppSelection {
} }
const elementsBetween = getElementsBetween(firstTarget, element); const elementsBetween = getElementsBetween(firstTarget, element);
console.log(elementsBetween); // console.log(elementsBetween);
if(elementsBetween.length) { if(elementsBetween.length) {
elementsBetween.forEach(element => { elementsBetween.forEach(element => {
processElement(element, false); processElement(element, false);