From 1b1ac8b40e6cb11eff1356dbd2cdb910e90ee1ea Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 22 Feb 2023 02:26:48 +0000 Subject: [PATCH] Add buy shortcuts to Y/SC --- source/skyconnect/index.html | 4 ++++ source/yellow/index.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/source/skyconnect/index.html b/source/skyconnect/index.html index fe2665e7261..046b7d14809 100644 --- a/source/skyconnect/index.html +++ b/source/skyconnect/index.html @@ -410,4 +410,8 @@ frontpage_image: /images/skyconnect/skyconnect-cover.png closeDialog(); } }; + + if (document.location.search === "?order") { + showBuyDialog(); + } diff --git a/source/yellow/index.html b/source/yellow/index.html index d061e1f898e..942d935c0ad 100644 --- a/source/yellow/index.html +++ b/source/yellow/index.html @@ -343,4 +343,8 @@ frontpage_image: /images/frontpage/yellow-frontpage.jpg closeDialog(); } }; + + if (document.location.search === "?order") { + showBuyDialog(); + }