fixes for standard

This commit is contained in:
Feross Aboukhadijeh
2016-11-22 19:43:51 -03:00
parent 4bb2056bc9
commit 9068909b4d
2 changed files with 3 additions and 2 deletions

View File

@@ -388,7 +388,8 @@ function toggleMenu (location) {
if (state.playing.location !== 'local') {
throw new CastingError(
`You can't connect to ${location} when already connected to another device`
) }
)
}
// Find all cast devices of the given type
const player = getPlayer(location)