s4

changeset 978:71528696780b

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 diff
     1.1 --- a/s4-main.js	Sun May 29 12:06:46 2022 +0900
     1.2 +++ b/s4-main.js	Sun May 29 12:07:59 2022 +0900
     1.3 @@ -1051,8 +1051,7 @@
     1.4  	    let text = td.innerHTML;
     1.5  	    if (text.startsWith("\&gt;#")) {
     1.6  		let newline = text.indexOf("\n");
     1.7 -		let first   = 
     1.8 -		    rest    = text.substring(newline);
     1.9 +		let first, rest;
    1.10  		if (newline) {
    1.11  		    first = text.substring(0, newline);
    1.12  		    rest  = text.substring(newline);