lint compliance

pull/1/head
yflory 5 years ago
parent c969363290
commit 43fc0a3721

@ -316,7 +316,7 @@ define([
var oldSelection = window.getSelection(); var oldSelection = window.getSelection();
var oldRangeObj; var oldRangeObj;
if ($(oldSelection.anchorNode).closest('.cp-comment-form').length) { if ($(oldSelection.anchorNode).closest('.cp-comment-form').length) {
oldRange = oldSelection.getRangeAt && oldSelection.getRangeAt(0); var oldRange = oldSelection.getRangeAt && oldSelection.getRangeAt(0);
oldRangeObj = { oldRangeObj = {
start: oldRange.startContainer, start: oldRange.startContainer,
startO: oldRange.startOffset, startO: oldRange.startOffset,

Loading…
Cancel
Save