Browse Source

rename js port function

Mark deVilliers 2 years ago
parent
commit
144207793f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ui/search.html

+ 1 - 1
ui/search.html

@@ -20,7 +20,7 @@
20 20
   app.ports.unsafeDrawGraph.subscribe(function(data) {
21 21
       drawGraph(data)
22 22
   });
23
-  app.ports.clearGraph.subscribe(function(data) {
23
+  app.ports.unsafeClearGraph.subscribe(function(data) {
24 24
       document.getElementById("graph").innerHTML = "";
25 25
   });
26 26