Commit 265d6c95 authored by Koichi Yasuoka's avatar Koichi Yasuoka
Browse files

bug fix

parent 8c749121
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
<!DOCTYPE html><head><meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>CoNLL-U SVG Editor for 漢文 by 安岡孝一, January 29, 2019.</title>
<title>CoNLL-U SVG Editor for 漢文 by 安岡孝一, February 4, 2019.</title>
<script src="conllusvgview.js"></script>
<script src="conllusvgedit.js"></script>
<script src="conllusvgload.js"></script>
@@ -292,12 +292,14 @@ conllusvg.kanbun.checkLinks=function(textid){
	    }
	  }
	}
      }
      if(p==0&&d=="case"&&c.links[f].from-f<0){
	if(c.links[f]!=null){
	  if(c.links[f].from-f<0){
	    k=c.nodes[f].deprel;
	    if(k=="clf"||k=="compound"||k=="conj"||k=="flat")
	      p=1;
	  }
	}
      }
      if(p==0&&d=="cc"){
	if(c.nodes[f].deprel!="conj")
	  p=1;