oracle-samples / xfc

A javascript library for Cross Frame Communication
Apache License 2.0
17 stars 24 forks source link

Update unload listener to handle only when a page is unloaded #27

Closed divyaashritha closed 5 years ago

divyaashritha commented 6 years ago

Description of Issue

As a consumer I would like the the data-status to be changed to unloaded only when the user navigates away from the page.

Additional Details (optional)

Steps to Reproduce the Issue

  1. When href with tel(href="tel:XXX") is clicked the data-status changes to unloaded(it should change the status only when the user navigates away from the page i.e., for real links)
divyaashritha commented 6 years ago

PR: https://github.com/cerner/xfc/pull/26