diff --git a/edit/applies-to-line-widget.js b/edit/applies-to-line-widget.js index 0cdf7219..33816dcb 100644 --- a/edit/applies-to-line-widget.js +++ b/edit/applies-to-line-widget.js @@ -288,7 +288,7 @@ function createAppliesToLineWidget(cm) { if (i === -2) { i = widgets.length - 1; } - if (j < 0) {actualStyle + if (j < 0) { j = widgets.length; }