Don't overwrite nym on page reload

This commit is contained in:
Tony Garnock-Jones 2013-10-31 20:18:51 -04:00
parent 261ab7783a
commit 59ca9e8556
1 changed files with 1 additions and 1 deletions

View File

@ -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');