mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 21:11:16 +00:00
Show grant access dialog every time we initialize
This commit is contained in:
parent
e71a5e3bdf
commit
9f67a74340
1 changed files with 2 additions and 1 deletions
|
@ -655,6 +655,8 @@ let BookWyrm = new (class {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initBarcodes(cameraId = null) {
|
function initBarcodes(cameraId = null) {
|
||||||
|
toggleStatus('grant-access');
|
||||||
|
|
||||||
if (!cameraId) {
|
if (!cameraId) {
|
||||||
cameraId = sessionStorage.getItem('preferredCam');
|
cameraId = sessionStorage.getItem('preferredCam');
|
||||||
} else {
|
} else {
|
||||||
|
@ -777,7 +779,6 @@ let BookWyrm = new (class {
|
||||||
|
|
||||||
event.target.addEventListener('close', cleanup, { once: true });
|
event.target.addEventListener('close', cleanup, { once: true });
|
||||||
|
|
||||||
toggleStatus('grant-access');
|
|
||||||
initBarcodes();
|
initBarcodes();
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue