From 7ce08921adb5bbade448e5e2bfb043d848208257 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Wed, 7 Sep 2022 19:51:33 +0200 Subject: [PATCH] Fix select dropdown on iOS --- client/wrap.html | 2 ++ client/wrap.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/client/wrap.html b/client/wrap.html index 93b3de1..9798299 100644 --- a/client/wrap.html +++ b/client/wrap.html @@ -25,6 +25,8 @@ body { main { flex: 1 0 auto; } + /* https://github.com/Dogfalo/materialize/issues/6464 */ + .select-wrapper * { transition: none !important; transform: none !important; } diff --git a/client/wrap.js b/client/wrap.js index fc6b93d..c3634ee 100644 --- a/client/wrap.js +++ b/client/wrap.js @@ -101,6 +101,9 @@ $(document).ready(() => { ) ; appbody.append(block); + if (!token || token == 'undefined') { + $('#send').addClass("disabled"); + }; getBandz().then(bandz => { $('select').append(bandz.map(band => ``));