consider profile links unsafe

pull/1/head
ansuz 3 years ago
parent 1a18eafb7f
commit 6a2ec4ae7e

@ -135,6 +135,14 @@ define([
rel: 'noreferrer noopener' rel: 'noreferrer noopener'
}).appendTo($block).hide(); }).appendTo($block).hide();
APP.$link.click(function (ev) {
ev.preventDefault();
ev.stopPropagation();
var href = $(this).attr('href').trim();
if (!href) { return; }
common.openUnsafeURL(href);
});
APP.$linkEdit = $(); APP.$linkEdit = $();
if (APP.readOnly) { return; } if (APP.readOnly) { return; }

Loading…
Cancel
Save