diff --git a/roomunlock.html b/roomunlock.html index 8bfbb374dcc1f72a01103edfe89c5050ca89a681..3a35cd7891e1fd2dab31ff315186532005871df5 100644 --- a/roomunlock.html +++ b/roomunlock.html @@ -82,7 +82,7 @@ const roomUrl = document.getElementById('roomUrl'); let room = window.location.href.substring(window.location.href.lastIndexOf('/') + 1) - if (room !== "raumfreischaltung") { + if (room.length > 2 && room !== "raumfreischaltung") { roomField.value = room; get_room(); }