mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +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) {
|
||||
toggleStatus('grant-access');
|
||||
|
||||
if (!cameraId) {
|
||||
cameraId = sessionStorage.getItem('preferredCam');
|
||||
} else {
|
||||
|
@ -777,7 +779,6 @@ let BookWyrm = new (class {
|
|||
|
||||
event.target.addEventListener('close', cleanup, { once: true });
|
||||
|
||||
toggleStatus('grant-access');
|
||||
initBarcodes();
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue