Skip to content

Commit

Permalink
fix: on_popstate should listen to popstate, was mouseup(copied)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanceras committed Apr 16, 2024
1 parent da7f212 commit 79b8875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/dom/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl Window {
});
window()
.add_event_listener_with_callback(
intern("mouseup"),
intern("popstate"),
closure_cb.as_ref().unchecked_ref(),
)
.expect("add event callback");
Expand Down

0 comments on commit 79b8875

Please sign in to comment.