Fix webm_audio undefined error shown on first install of script. #1778

This commit is contained in:
ccd0 2018-01-25 00:06:00 -08:00
parent ce8c348aef
commit 815a07f8e4

View File

@ -44,4 +44,4 @@ BoardConfig =
noAudio: (boardID) ->
boards = @boards or Conf['boardConfig'].boards
boards and !boards[boardID].webm_audio
boards and boards[boardID] and !boards[boardID].webm_audio