We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39c608c commit 5b9eac6Copy full SHA for 5b9eac6
form-utilities.js.html
@@ -37,7 +37,7 @@
37
//
38
// Problem #2 is why other code never calls gs.host.close()
39
// directly, even in cases where problem #1 is not at stake.
40
- function delayedClose() {
41
- setTimeout(() => { google.script.host.close(); }, 300);
+ function delayedClose(duration = 300) {
+ setTimeout(() => { google.script.host.close(); }, duration);
42
}
43
</script>
0 commit comments