Public Access
feat: spinning-up widget for ?message=spinning_up URL param
This commit is contained in:
1 parent
5f4c75e94f
commit
4d9becd159
3 files changed
+56
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user