aboutsummaryrefslogtreecommitdiffstats
path: root/grapher/script.js
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2022-02-04 22:21:43 +0000
committerAleteoryx <alyx@aleteoryx.me>2022-02-04 22:21:43 +0000
commit418e48e13cfd874de2677cde76227164cd00a005 (patch)
tree7a6ef68e326942e4426a62b30b5430a4743e5cc0 /grapher/script.js
parent59d5ade418fdb0c6fe2d0c100f0a32b4c2dacd32 (diff)
downloadRRCUtils-418e48e13cfd874de2677cde76227164cd00a005.tar.gz
RRCUtils-418e48e13cfd874de2677cde76227164cd00a005.tar.bz2
RRCUtils-418e48e13cfd874de2677cde76227164cd00a005.zip
made the sorting of search results be based on closeness as opposed to alphabetical
Diffstat (limited to 'grapher/script.js')
-rw-r--r--grapher/script.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/grapher/script.js b/grapher/script.js
index 78b7efd..50d1055 100644
--- a/grapher/script.js
+++ b/grapher/script.js
@@ -194,7 +194,6 @@ window.onload = async function() {
if (e.target.parentElement.matches('.input') && (newCon.i.nextElementSibling.innerText == newCon.o.nextElementSibling.innerText))
connections.push(newCon);
break;
- break;
case 'drag':
if ((performance.now() - start) < 150 && !targ.children[0].matches('#selected')) {
switchID(targ.children[0], 'selected')