File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ const generateUUID = () => {
4040/**
4141 * Sends a test email to the admin.
4242 */
43- export const handleSendTestMail = async ( ) => {
43+ window . handleSendTestMail = async ( ) => {
4444 const button = document . getElementById ( 'btn-phpmyfaq-mail-sendTestEmail' ) ;
4545 if ( button ) {
4646 const csrf = document . querySelector ( '#pmf-csrf-token' ) . value ;
@@ -83,7 +83,7 @@ const displayResult = (button, message) => {
8383/**
8484 * Generates an API token if the input field is empty.
8585 */
86- export const generateApiToken = ( ) => {
86+ window . generateApiToken = ( ) => {
8787 const buttonGenerateApiToken = document . getElementById ( 'pmf-generate-api-token' ) ;
8888 const inputConfigurationApiToken = document . getElementById ( 'edit[api.apiClientToken]' ) ;
8989
You can’t perform that action at this time.
0 commit comments