Skip to content

Commit cc56b58

Browse files
authored
Merge pull request #14425 from SamiraAtMicrosoft/handleRejectionGetVRDisplays
WebVR: Handle rejection of getVRDisplays() Promise
2 parents 808b1a8 + b37222e commit cc56b58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/vr/WebVR.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ var WEBVR = {
191191

192192
}
193193

194-
} );
194+
} ).catch( showVRNotFound );
195195

196196
return button;
197197

0 commit comments

Comments
 (0)