Fix select dropdown on iOS

This commit is contained in:
Paul Mathieu 2022-09-07 19:51:33 +02:00
parent 419e991562
commit 7ce08921ad
2 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,8 @@ body {
main { main {
flex: 1 0 auto; flex: 1 0 auto;
} }
/* https://github.com/Dogfalo/materialize/issues/6464 */
.select-wrapper * { transition: none !important; transform: none !important; }
</style> </style>
</head> </head>
<body> <body>

View File

@ -101,6 +101,9 @@ $(document).ready(() => {
) )
; ;
appbody.append(block); appbody.append(block);
if (!token || token == 'undefined') {
$('#send').addClass("disabled");
};
getBandz().then(bandz => { getBandz().then(bandz => {
$('select').append(bandz.map(band => `<option value="${band.id}">${band.name}</option>`)); $('select').append(bandz.map(band => `<option value="${band.id}">${band.name}</option>`));