Skip to content

Commit

Permalink
Remove unnecessary preventDefault (#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
lodoyun authored Jun 8, 2023
1 parent bf85162 commit 8878fa6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion erizo_controller/erizoClient/src/Socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ const Socket = (newIo) => {
if (that.state === that.DISCONNECTED) {
return;
}
evt.preventDefault();
delete evt.returnValue;
pageUnloaded = true;
that.disconnect(true);
Expand Down

0 comments on commit 8878fa6

Please sign in to comment.