forked from External/greenlight
Fix some issues reported by LGTM (#1478)
* Declare local JavaScript variables (reported by LGTM) Signed-off-by: Stefan Weil <sw@weilnetz.de> * Remove unused local JavaScript variable (reported by LGTM) Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
@ -138,7 +138,6 @@ $(document).on('turbolinks:load', function(){
|
||||
});
|
||||
|
||||
function showCreateRoom(target) {
|
||||
var modal = $(target)
|
||||
$("#create-room-name").val("")
|
||||
$("#create-room-access-code").text(getLocalizedString("modal.create_room.access_code_placeholder"))
|
||||
$("#room_access_code").val(null)
|
||||
@ -269,4 +268,4 @@ function removeSharedUser(target) {
|
||||
parentLI.removeChild(target)
|
||||
parentLI.classList.add("remove-shared")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user