v1.18.x
barisusakli 8 years ago
parent debe34b96c
commit bb146e049c

@ -369,7 +369,7 @@ $(document).ready(function () {
var safeUrls = config.outgoingLinksWhitelist.trim().split(/[\s,]+/g);
var href = this.href;
if (!safeUrls.some(function(url) { return href.indexOf(url) !== -1; } )) {
if (!safeUrls.some(function (url) { return href.indexOf(url) !== -1; })) {
ajaxify.go('outgoing?url=' + encodeURIComponent(href));
e.preventDefault();
}

Loading…
Cancel
Save