Skip to content

Commit

Permalink
Update src/webview/webview.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Tsai <[email protected]>
Signed-off-by: Tony <[email protected]>
  • Loading branch information
Legend-Master and pewsheen authored Feb 6, 2025
1 parent e3ca233 commit 8a7d005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webview/webview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl Window {
}
EmbedderMsg::LoadStart(_) => {
if let Some(init_script) = &self.init_script {
let _ = execute_script(&sender, &webview_id, init_script);
let _ = execute_script(sender, &webview_id, init_script);
}
}
EmbedderMsg::LoadComplete(_webview_id) => {
Expand Down

0 comments on commit 8a7d005

Please sign in to comment.