aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-04-24 05:38:12 +0300
committerRblSb <msrblsb@gmail.com>2020-04-24 05:38:12 +0300
commit95688a8494e2e71aeb4c9e3a1037c4848a90cd21 (patch)
tree7d90736a6998641a895a2b989746337a7d4bdd12 /res
parentaf0b3a3fb9a679a0e1b32d18b67a2f5b0d43f5dd (diff)
Allow spaces in multilinks
Diffstat (limited to 'res')
-rw-r--r--res/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js
index 9903f55..89d0d81 100644
--- a/res/client.js
+++ b/res/client.js
@@ -1006,7 +1006,7 @@ client_Main.prototype = {
mediaUrl.value = "";
this.settings.latestLinks.push(url);
client_Settings.write(this.settings);
- var _this_r = new RegExp(",(https?)","g".split("u").join(""));
+ var _this_r = new RegExp(", ?(https?)","g".split("u").join(""));
var links = url.replace(_this_r,"|$1").split("|");
this.handleUrlMasks(links);
if(!atEnd) {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage