From e521eba5dfcb555ca1c825d1db0a450ddadd0fb9 Mon Sep 17 00:00:00 2001 From: Vladimir Davidovich Date: Thu, 28 Aug 2025 12:08:34 +0300 Subject: [PATCH] fix typo --- src/lib/libhtml5.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/libhtml5.js b/src/lib/libhtml5.js index 62d0ee65d9554..e948397404f71 100644 --- a/src/lib/libhtml5.js +++ b/src/lib/libhtml5.js @@ -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);