Fix: Link analyzer not working

This commit is contained in:
cutls 2019-11-16 22:47:18 +09:00
parent e345b3a479
commit 00863d6917
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ function tagInsert(code, del) {
} else {
var delLen = 0
}
var before = sentence.substr(0, pos - del)
var before = sentence.substr(0, pos - delLen)
var last = before.substr(-1, 1)
if (last == ' ') blankBefore = ''
var after = sentence.substr(pos, len)

View File

@ -390,7 +390,7 @@ function parseColumn(target, dontclose) {
<span id="sta-media-${key}">On</span>
</a>
${lang.lang_layout_mediafil}<br>
<a onclick="cardToggle(${key}')" class="setting nex">
<a onclick="cardToggle('${key}')" class="setting nex">
<i class="material-icons waves-effect nex" title="${lang.lang_layout_linkanades}">link</i>
<span id="sta-card-${key}">On</span>
</a>