Skip to content

Commit 4805f9f

Browse files
committed
Fix syntax
1 parent 2be8f34 commit 4805f9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ssvc-explorer/simple.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ const graphModule = (function() {
151151
if(/\s+$/.test(truncated) || /^\s/.test(dstr[18])) {
152152
/* If it ends with spaces remove all spaces and the last
153153
non-space character to show the word has been truncated */
154-
truncated = truncated.replace(/\s+$/, "");
155-
truncated = truncated.slice(0, -1);
154+
truncated = truncated.replace(/\s+$/, "");
155+
truncated = truncated.slice(0, -1);
156156
}
157157
dstr = truncated + "...";
158158
}

0 commit comments

Comments
 (0)