Merge branch 'profile-link' into soon

pull/1/head
ansuz 3 years ago
commit e5891b2e05

@ -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