mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 924693 - Add payment callbacks earlier in startup. r=mfinkle
This commit is contained in:
parent
20bc494eaf
commit
2c54507ff7
@ -133,7 +133,7 @@ PaymentUI.prototype = {
|
||||
} finally {
|
||||
tab.browser.removeEventListener("DOMContentLoaded", loadPaymentShim);
|
||||
}
|
||||
}, false);
|
||||
}, true);
|
||||
|
||||
// fail the payment if the tab is closed on its own
|
||||
tab.browser.addEventListener("TabClose", function paymentCanceled() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user