diff --git a/build/admin/admin.bundle.js b/build/admin/admin.bundle.js index 786d33f0..24bfa21a 100644 --- a/build/admin/admin.bundle.js +++ b/build/admin/admin.bundle.js @@ -456,24 +456,6 @@ var __webpack_exports__ = {}; if ($('.edac-readability').length) { edac_readability_ajax(); } - - /** - * Stop pass 1 button's on click handler - */ - $('.edacp-scan-stop-pass1-btn').click(function (e) { - postData(edac_script_vars.edacApiUrl + '/cancel-current-php-scan', {}).then(data => { - //console.log(data); - }); - }); - - /** - * Stop pass 2 button's on click handler - */ - $('.edacp-scan-stop-pass2-btn').click(function (e) { - postData(edac_script_vars.edacApiUrl + '/cancel-current-scan', {}).then(data => { - //console.log(data); - }); - }); }); })(jQuery); const postData = async (url = "", data = {}) => { diff --git a/dist/accessibility-checker.zip b/dist/accessibility-checker.zip index 6365195d..4b5e063b 100644 Binary files a/dist/accessibility-checker.zip and b/dist/accessibility-checker.zip differ diff --git a/src/admin/index.js b/src/admin/index.js index 92f18e50..9f2ecdfd 100644 --- a/src/admin/index.js +++ b/src/admin/index.js @@ -495,31 +495,6 @@ } - /** - * Stop pass 1 button's on click handler - */ - $('.edacp-scan-stop-pass1-btn').click(function (e) { - - postData(edac_script_vars.edacApiUrl + '/cancel-current-php-scan', {}).then((data) => { - //console.log(data); - }); - - }); - - /** - * Stop pass 2 button's on click handler - */ - $('.edacp-scan-stop-pass2-btn').click(function (e) { - - postData(edac_script_vars.edacApiUrl + '/cancel-current-scan', {}).then((data) => { - //console.log(data); - }); - - }); - - - - });