Skip to content

Commit 214b6bf

Browse files
committed
[overlay addon] Fix another append-null-as-string issue
1 parent d0cde7f commit 214b6bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/mode/overlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ CodeMirror.overlayMode = function(base, overlay, combine) {
8282

8383
return overlayToken == null ?
8484
baseToken :
85-
(combine ? baseToken + " " + overlayToken : overlayToken);
85+
(combine && baseToken != null ? baseToken + " " + overlayToken : overlayToken);
8686
}
8787
};
8888
};

0 commit comments

Comments
 (0)