Skip to content

Commit 2e20fdb

Browse files
committed
chore: replaced favicons with dashicons
1 parent c50062e commit 2e20fdb

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

js/library.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535

3636
function createPopupProBlocker() {
3737

38-
var link = document.createElement('link');
39-
link.rel = 'stylesheet';
40-
link.href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css';
41-
document.head.appendChild(link);
42-
4338
var overlay = document.createElement('div');
4439
overlay.classList.add('vizualizer-renew-notice-overlay');
4540
overlay.id = 'overlay-visualizer';
@@ -49,7 +44,7 @@ function createPopupProBlocker() {
4944
popup.classList.add('vizualizer-renew-notice-popup');
5045

5146
var closeIcon = document.createElement('i');
52-
closeIcon.classList.add('fas', 'fa-times', 'vizualizer-renew-notice-close-icon');
47+
closeIcon.classList.add('dashicons', 'dashicons-no', 'vizualizer-renew-notice-close-icon');
5348
closeIcon.addEventListener('click', function() {
5449
document.body.removeChild(overlay);
5550
popup.style.display = 'none';
@@ -73,15 +68,15 @@ function createPopupProBlocker() {
7368
link1.href = 'https://store.themeisle.com/';
7469
link1.target = '_blank';
7570
var button1 = document.createElement('button');
76-
button1.innerHTML = '<span class="fas fa-shopping-cart"></span> Renew License';
71+
button1.innerHTML = '<span class="dashicons dashicons-cart"></span> Renew License';
7772
button1.classList.add('vizualizer-renew-notice-button', 'vizualizer-renew-notice-renew-button');
7873
link1.appendChild(button1);
7974
buttonsContainer.appendChild(link1);
8075

8176
var link2 = document.createElement('a');
8277
link2.href = '/wp-admin/options-general.php#visualizer_pro_license';
8378
var button2 = document.createElement('button');
84-
button2.innerHTML = '<span class="fas fa-key"></span> Activate License';
79+
button2.innerHTML = '<span class="dashicons dashicons-unlock"></span> Activate License';
8580
button2.classList.add('vizualizer-renew-notice-button', 'vizualizer-renew-notice-activate-button');
8681
link2.appendChild(button2);
8782
buttonsContainer.appendChild(link2);

0 commit comments

Comments
 (0)