diff --git a/deploy/index.html b/deploy/index.html index b4550a54..fa92a390 100644 --- a/deploy/index.html +++ b/deploy/index.html @@ -651,7 +651,6 @@

3Configure your scripts

} catch { // best-effort; ignore storage errors } - const safeId = escapeHtml(scriptId) const section = document.getElementById('setup-section-' + scriptId) if (section) { section.innerHTML = `
⏱ Trigger previously activated.
` @@ -667,7 +666,7 @@

3Configure your scripts

* to activate the hourly trigger. */ function buildSetupSource(triggerFn) { - if (!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(triggerFn)) { + if (!/^[a-zA-Z_]\w*$/.test(triggerFn)) { throw new Error( 'Invalid trigger function name: ' + JSON.stringify(triggerFn) ) @@ -1189,14 +1188,11 @@

3Configure your scripts

'' + '