mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
fix path, map, set, load, load, ws & escape todo
This commit is contained in:
parent
a91bd57791
commit
f74e861714
@ -23,7 +23,6 @@
|
||||
$("#addToDo").onsubmit = function(){
|
||||
var id = randomId();
|
||||
gun.path(id).set(($("#todoItem").value||'').toString().replace(/\</ig, '<'));
|
||||
$("#todos").innerHTML += "<li>"+$("#todoItem").value+"</li>";
|
||||
$("#todoItem").value = "";
|
||||
return false;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user