Skip to content

Commit

Permalink
🚑 fix: first qr code was not rendering in console, fixed. #3245
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed Sep 19, 2024
1 parent 0408d36 commit 89cd2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class QRManager {
config: ConfigObject = null;
firstEmitted = false;
_internalQrPngLoaded = false;
qrCheck = `document.querySelector("canvas[aria-label='Scan me!']")?document.querySelector("canvas[aria-label='Scan me!']").parentElement.getAttribute("data-ref"):false`
qrCheck = `document.querySelector("canvas[aria-label]")?document.querySelector("canvas[aria-label]").parentElement.getAttribute("data-ref"):false`

constructor(config = null) {
this.config = config;
Expand Down

0 comments on commit 89cd2af

Please sign in to comment.