feat: spinning-up widget for ?message=spinning_up URL param

This commit is contained in:
ODOO4projects Web Developer committed 2026-10-05 20:32:13 +00:00
1 parent 5f4c75e94f
commit 4d9becd159
3 files changed
+56 -1

No files matched your search

+9
View File
@@ -61,6 +61,15 @@ var si = 0,
window.UTM.parse(); // Parse on page load
})();
/* ---- Spinning Up Widget (shown when ?message=spinning_up) ---- */
(function () {
var urlParams = new URLSearchParams(window.location.search);
if (urlParams.get('message') === 'spinning_up') {
var el = document.getElementById('spinningUp');
if (el) el.style.display = 'block';
}
})();
if (slides.length > 0 && dots.length > 0) {
function show(i, direction) {
if (direction === undefined) return;