Skip to content
Merged

fix typo #25085

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/libhtml5.js
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,7 @@ var LibraryHTML5 = {
$registerBeforeUnloadEventCallback: (target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString) => {
var beforeUnloadEventHandlerFunc = (e = event) => {
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
var confirmationMessage = {{{ makeDynCall('iipp', 'callbackfunc') }}}(eventTypeId, 0, userData);
var confirmationMessage = {{{ makeDynCall('pipp', 'callbackfunc') }}}(eventTypeId, 0, userData);

if (confirmationMessage) {
confirmationMessage = UTF8ToString(confirmationMessage);
Expand Down