changeset 978:71528696780b draft

Syntax error fixed.
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 29 May 2022 12:07:59 +0900
parents eb0ffd3b37c0
children 084326d5ba19
files s4-main.js
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/s4-main.js	Sun May 29 12:06:46 2022 +0900
+++ b/s4-main.js	Sun May 29 12:07:59 2022 +0900
@@ -1051,8 +1051,7 @@
 	    let text = td.innerHTML;
 	    if (text.startsWith("\&gt;#")) {
 		let newline = text.indexOf("\n");
-		let first   = 
-		    rest    = text.substring(newline);
+		let first, rest;
 		if (newline) {
 		    first = text.substring(0, newline);
 		    rest  = text.substring(newline);

yatex.org