From cfea15251a2ee0c7662f761a47aea3cdfa04a419 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Fri, 2 Feb 2024 17:32:51 +0100 Subject: [PATCH] fix --- ccp/js/executionformcontroller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccp/js/executionformcontroller.js b/ccp/js/executionformcontroller.js index 4738a70..c994987 100644 --- a/ccp/js/executionformcontroller.js +++ b/ccp/js/executionformcontroller.js @@ -16,8 +16,8 @@ class CCPExecutionForm extends HTMLElement{ this.connectNewExecutionRequest() - const p = new URLSearchParams(window.location.search) - this.#method = urlParams.get('method'); + const params = new URLSearchParams(window.location.search) + this.#method = params.get('method'); this.render() this.showMethod()