Permalink
Browse files

Fix sample of navigator.permissions.request (#371)

  • Loading branch information...
scheib authored and jyasskin committed Aug 11, 2017
1 parent be3d06e commit f870aedda4ca39d1a8a56268a017d0a532f6db33
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.bs
View
@@ -1750,7 +1750,7 @@ spec: html
services: ['heart_rate'],
}]
}).then(result => {
if (result.<a idl for="BluetoothPermissionResult">devices</a>.length > 1) {
if (result.<a idl for="BluetoothPermissionResult">devices</a>.length >= 1) {
return result.devices[0];
} else {
throw new <a idl>DOMException</a>("Chooser cancelled", "NotFoundError");

0 comments on commit f870aed

Please sign in to comment.