Skip to content

Commit 9d5f90d

Browse files
authored
Switch camera button inline, not block
1 parent 03ce798 commit 9d5f90d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haiku.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
navigator.mediaDevices.enumerateDevices().then(devices => {
116116
const cameras = devices.filter(device => device.kind === 'videoinput');
117117
if (cameras.length > 1) {
118-
switchCameraBtn.style.display = "block";
118+
switchCameraBtn.style.display = "inline";
119119
}
120120
});
121121
})

0 commit comments

Comments
 (0)