Fix #612 apply target=_blank to links added after initial page load

This commit is contained in:
Kijin Sung 2016-12-18 14:46:20 +09:00
parent da6a8da40a
commit c8975c0cf9

View file

@ -92,4 +92,11 @@
});
xe.registerPlugin(new AutoLink());
$(document).on('click', '.xe_content a', function() {
if (!$(this).attr("target")) {
$(this).attr("target", "_blank");
}
});
})(jQuery);