From 2ee38648e80c060c91c5b638f173c86a634af84d Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Mon, 28 Feb 2022 15:25:28 -0800 Subject: [PATCH] Adapt api.PresentationAvailability.onchange to new events structure This PR adapts the change event of the PresentationAvailability API to conform to the new events structure. --- api/PresentationAvailability.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/PresentationAvailability.json b/api/PresentationAvailability.json index 90ce184d176105..e4e68ea180bea2 100644 --- a/api/PresentationAvailability.json +++ b/api/PresentationAvailability.json @@ -64,9 +64,10 @@ "deprecated": false } }, - "onchange": { + "change_event": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationAvailability/onchange", + "description": "change event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationAvailability/change_event", "spec_url": "https://w3c.github.io/presentation-api/#dom-presentationavailability-onchange", "support": { "chrome": {