2020-04-23 18:07:39 +02:00
|
|
|
import feather from "feather-icons";
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
document.querySelectorAll('a[target="_blank"]').forEach(el => {
|
2020-09-05 17:34:26 +02:00
|
|
|
if (!el.classList.contains('no-icon')) {
|
|
|
|
el.innerHTML += `<i data-feather="external-link"></i>`;
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
feather.replace();
|
|
|
|
});
|