]> git.scottworley.com Git - nt3d/blobdiff - nt3d.js
Do something useful on enter in a parameter field.
[nt3d] / nt3d.js
diff --git a/nt3d.js b/nt3d.js
index f22d6763b6024a82e96e2a8c836ab47269c826da..9d45486c32095235f9c423453b78b28acd193247 100644 (file)
--- a/nt3d.js
+++ b/nt3d.js
@@ -95,6 +95,7 @@ nt3d = {
                        document.body.appendChild(this.ui);
                }
                this.form = document.createElement("form");
+               this.form.setAttribute("onsubmit", "nt3d.go(); return false");
                this.ui.appendChild(this.form);
                var table = document.createElement("table");
                this.form.appendChild(table);