Merge pull request #1303 from ValdoTR/develop

Fix openPopup deprecated annotation
This commit is contained in:
David Négrier
2021-07-21 16:43:03 +02:00
committed by GitHub
+1 -1
View File
@@ -123,7 +123,7 @@ const wa = {
},
/**
* @deprecated Use WA.controls.restorePlayerControls instead
* @deprecated Use WA.ui.openPopup instead
*/
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup {
console.warn("Method WA.openPopup is deprecated. Please use WA.ui.openPopup instead");