diff --git a/app/js/post/suggest.js b/app/js/post/suggest.js index 59cb452d..42838b52 100644 --- a/app/js/post/suggest.js +++ b/app/js/post/suggest.js @@ -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) diff --git a/app/js/ui/layout.js b/app/js/ui/layout.js index 4af4020d..643c4f49 100644 --- a/app/js/ui/layout.js +++ b/app/js/ui/layout.js @@ -390,7 +390,7 @@ function parseColumn(target, dontclose) { On ${lang.lang_layout_mediafil}
- + link On