Skip to content

Commit

Permalink
dont open share dialog for empty url
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Sep 13, 2024
1 parent e439e47 commit ea368d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ if (debug_fps)

let capture_started
async function capture() {
if (capture_started)
if (capture_started || orig_video.src == 'about:blank')
return
capture_started = true
let stream
Expand Down

0 comments on commit ea368d8

Please sign in to comment.