Don't overwrite nym on page reload
This commit is contained in:
parent
261ab7783a
commit
59ca9e8556
2
index.js
2
index.js
|
@ -299,7 +299,7 @@ function outputUtterance(who, what) {
|
|||
$(document).ready(function () {
|
||||
$("#chat_form").submit(function (e) { e.preventDefault(); return false; });
|
||||
$("#nym_form").submit(function (e) { e.preventDefault(); return false; });
|
||||
$("#nym").val("nym" + Math.floor(Math.random() * 65536));
|
||||
if (!($("#nym").val())) { $("#nym").val("nym" + Math.floor(Math.random() * 65536)); }
|
||||
|
||||
var g = new Ground(function () {
|
||||
console.log('starting ground boot');
|
||||
|
|
Loading…
Reference in New Issue