@brandocms/jupiter 3.51.0 → 3.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -120,9 +120,11 @@ export default class Cookies {
|
|
|
120
120
|
this.btn.addEventListener('click', () => {
|
|
121
121
|
this.opts.onAccept(this)
|
|
122
122
|
})
|
|
123
|
-
this.btnRefuse
|
|
124
|
-
this.
|
|
125
|
-
|
|
123
|
+
if (this.btnRefuse) {
|
|
124
|
+
this.btnRefuse.addEventListener('click', () => {
|
|
125
|
+
this.opts.onRefuse(this)
|
|
126
|
+
})
|
|
127
|
+
}
|
|
126
128
|
}
|
|
127
129
|
|
|
128
130
|
getCookie(sKey) {
|