Browse Source

Remove selection debug

master
morethanwords 3 years ago
parent
commit
633413ab97
  1. 4
      src/components/chat/selection.ts

4
src/components/chat/selection.ts

@ -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);

Loading…
Cancel
Save