From 1fd12ea695776c3d2881968d014104df689d1e11 Mon Sep 17 00:00:00 2001 From: r-a-y Date: Fri, 6 Dec 2024 10:13:16 +0700 Subject: [PATCH] Fix undefined JS function error. See #5. --- assets/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/block.js b/assets/block.js index 369affc..4a18c71 100644 --- a/assets/block.js +++ b/assets/block.js @@ -1080,7 +1080,7 @@ console.log( e ); } // Verify nonce. - let verify = await verifyNonce( e.data.nonce ); + let verify = await this.verifyNonce( e.data.nonce ); if ( ! verify ) { return; }