rainbox.email/assets/js/external_links.js
2020-04-23 18:07:39 +02:00

9 lines
259 B
JavaScript

import feather from "feather-icons";
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('a[target="_blank"]').forEach(el => {
el.innerHTML += `<i data-feather="external-link"></i>`;
});
feather.replace();
});