mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
Fix non-existent term
This commit is contained in:
parent
d2721f0bbc
commit
d7feb51695
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class Search extends React.Component {
|
|||
while (mode.indexOf('/') > -1) {
|
||||
mode = mode.substring(0, mode.indexOf('/'));
|
||||
}
|
||||
while (term.indexOf('&') > -1) {
|
||||
while (mode.indexOf('&') > -1) {
|
||||
mode = mode.substring(0, mode.indexOf('&'));
|
||||
}
|
||||
mode = decodeURIComponent(mode.split('+').join(' '));
|
||||
|
|
Loading…
Reference in a new issue