35
35
36
36
function createPopupProBlocker ( ) {
37
37
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
-
43
38
var overlay = document . createElement ( 'div' ) ;
44
39
overlay . classList . add ( 'vizualizer-renew-notice-overlay' ) ;
45
40
overlay . id = 'overlay-visualizer' ;
@@ -49,7 +44,7 @@ function createPopupProBlocker() {
49
44
popup . classList . add ( 'vizualizer-renew-notice-popup' ) ;
50
45
51
46
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' ) ;
53
48
closeIcon . addEventListener ( 'click' , function ( ) {
54
49
document . body . removeChild ( overlay ) ;
55
50
popup . style . display = 'none' ;
@@ -73,15 +68,15 @@ function createPopupProBlocker() {
73
68
link1 . href = 'https://store.themeisle.com/' ;
74
69
link1 . target = '_blank' ;
75
70
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' ;
77
72
button1 . classList . add ( 'vizualizer-renew-notice-button' , 'vizualizer-renew-notice-renew-button' ) ;
78
73
link1 . appendChild ( button1 ) ;
79
74
buttonsContainer . appendChild ( link1 ) ;
80
75
81
76
var link2 = document . createElement ( 'a' ) ;
82
77
link2 . href = '/wp-admin/options-general.php#visualizer_pro_license' ;
83
78
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' ;
85
80
button2 . classList . add ( 'vizualizer-renew-notice-button' , 'vizualizer-renew-notice-activate-button' ) ;
86
81
link2 . appendChild ( button2 ) ;
87
82
buttonsContainer . appendChild ( link2 ) ;
0 commit comments