mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
954b2564b2
$.verto.unloadJobs queue leverages the 'beforeunload' event to perform work prior to browser page unload. However, iOS does not support that event. Its equivalent event is 'pagehide'. This patch uses the pagehide event on iOS, and beforeunload for all others.