We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aee887 commit 222b11bCopy full SHA for 222b11b
nimletter.nimble
@@ -1,6 +1,6 @@
1
# Package
2
3
-version = "0.6.9"
+version = "0.7.0"
4
author = "ThomasTJdev"
5
description = "Newsletter"
6
license = "AGPL v3"
src/html/optin.nimf
@@ -27,7 +27,9 @@
27
<script>
28
document.addEventListener("DOMContentLoaded", function() {
29
const buttonSubscribe = document.querySelector("#subscribeName");
30
- buttonSubscribe.focus();
+ if (buttonSubscribe) {
31
+ buttonSubscribe.focus();
32
+ }
33
});
34
</script>
35
</head>
0 commit comments