Unverified Commit d7feb516 authored by kyleplo's avatar kyleplo Committed by GitHub

Fix non-existent term

parent d2721f0b
...@@ -47,7 +47,7 @@ class Search extends React.Component { ...@@ -47,7 +47,7 @@ class Search extends React.Component {
while (mode.indexOf('/') > -1) { while (mode.indexOf('/') > -1) {
mode = mode.substring(0, mode.indexOf('/')); mode = mode.substring(0, mode.indexOf('/'));
} }
while (term.indexOf('&') > -1) { while (mode.indexOf('&') > -1) {
mode = mode.substring(0, mode.indexOf('&')); mode = mode.substring(0, mode.indexOf('&'));
} }
mode = decodeURIComponent(mode.split('+').join(' ')); mode = decodeURIComponent(mode.split('+').join(' '));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment