From 00863d691767fd7d279740299c9fdb71c3418d26 Mon Sep 17 00:00:00 2001 From: cutls Date: Sat, 16 Nov 2019 22:47:18 +0900 Subject: [PATCH] Fix: Link analyzer not working --- app/js/post/suggest.js | 2 +- app/js/ui/layout.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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