Fix webm_audio undefined error shown on first install of script. #1778
This commit is contained in:
parent
ce8c348aef
commit
815a07f8e4
@ -44,4 +44,4 @@ BoardConfig =
|
|||||||
|
|
||||||
noAudio: (boardID) ->
|
noAudio: (boardID) ->
|
||||||
boards = @boards or Conf['boardConfig'].boards
|
boards = @boards or Conf['boardConfig'].boards
|
||||||
boards and !boards[boardID].webm_audio
|
boards and boards[boardID] and !boards[boardID].webm_audio
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user