Mercurial > code > home > repos > homeauto
changeset 1044:724cb8ea49b4
case check error
Ignore-this: 7d175ad43bbf538c1ba32e6ee0b64e2d
darcs-hash:bf8630b887e1e2bc4488aa2708c1dc0a3ada04e5
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 01 Feb 2016 03:09:08 -0800 |
parents | 5d5106570128 |
children | a328cc370b22 |
files | service/reasoning/index.html |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/service/reasoning/index.html Mon Feb 01 02:54:30 2016 -0800 +++ b/service/reasoning/index.html Mon Feb 01 03:09:08 2016 -0800 @@ -95,7 +95,8 @@ var p = BigastUri.compactUri(stmt[1]); var o = BigastUri.compactUri(stmt[2]); - if (q.toLowerCase() && + q = q.toLowerCase() + if (q && s.toLowerCase().indexOf(q) == -1 && p.toLowerCase().indexOf(q) == -1 && o.toLowerCase().indexOf(q) == -1) { @@ -114,11 +115,11 @@ } function updateIn() { -$.get("lastInputGraph", makeAddStmts($("#input"), $("#inputQ").val())); + $.get("lastInputGraph", makeAddStmts($("#input"), $("#inputQ").val())); } function updateOut() { -$.get("lastOutputGraph", makeAddStmts($("#output"), $("#outputQ").val())); - } + $.get("lastOutputGraph", makeAddStmts($("#output"), $("#outputQ").val())); + } function update() { updateIn();