summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-01-08 16:05:41 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-01-08 16:06:24 +0100
commit770c744e45156e7e8cca3786e1e6513b335fba60 (patch)
treeb1ea6b9e4c038350bb28fdb6c65a3ec765887ef5 /core/js
parent9c3ac19b336778b95d16b81fd84f0bd44b4d549c (diff)
downloadnextcloud-server-770c744e45156e7e8cca3786e1e6513b335fba60.tar.gz
nextcloud-server-770c744e45156e7e8cca3786e1e6513b335fba60.zip
opens comments links in _blank 🙊
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/public/comments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/public/comments.js b/core/js/public/comments.js
index 6de7ff7d38a..955e88c8609 100644
--- a/core/js/public/comments.js
+++ b/core/js/public/comments.js
@@ -43,7 +43,7 @@
}
var linkText = url.replace(self.protocolRegex, '');
- return '<a class="external" href="' + url + '">' + linkText + '</a>';
+ return '<a class="external" target="_blank" href="' + url + '">' + linkText + '</a>';
});
},