fix path, map, set, load, load, ws & escape todo

This commit is contained in:
Mark Nadal 2015-02-26 16:22:04 -07:00
parent a91bd57791
commit f74e861714

View File

@ -23,7 +23,6 @@
$("#addToDo").onsubmit = function(){
var id = randomId();
gun.path(id).set(($("#todoItem").value||'').toString().replace(/\</ig, '&lt;'));
$("#todos").innerHTML += "<li>"+$("#todoItem").value+"</li>";
$("#todoItem").value = "";
return false;
};