Configure PayPal integration and cart checkout error display
This commit is contained in:
1 parent
62065828e1
commit
cf07fc5d9b
98 files changed
+1430
-281
No files matched your search
@@ -0,0 +1,9 @@
|
||||
(() => {
|
||||
const reminder = document.querySelector('[data-archive-reminder]');
|
||||
if (!reminder || typeof reminder.showModal !== 'function') return;
|
||||
try {
|
||||
if (sessionStorage.getItem('slx-archive-reminder')) return;
|
||||
sessionStorage.setItem('slx-archive-reminder', 'seen');
|
||||
} catch { /* The reminder still works when session storage is unavailable. */ }
|
||||
if (!document.querySelector('dialog[open]')) reminder.showModal();
|
||||
})();
|
||||
Reference in new issue
Block a user