Skip to content

Commit dc80d41

Browse files
author
Chad Hart
committed
fixed device selection (I had it commented out)
1 parent 50eb8b8 commit dc80d41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/resolutionScan.js

+1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ function gum(candidate, device) {
157157
minHeight: candidate.height,
158158
maxWidth: candidate.width,
159159
maxHeight: candidate.height*/
160+
deviceId: device.id ? {exact: device.id} : undefined,
160161
width: {exact: candidate.width}, //new syntax
161162
height: {exact: candidate.height} //new syntax
162163

0 commit comments

Comments
 (0)