> -> >= for query length

main
Mike Fix 7 years ago
parent 2eee0078e7
commit 497188aa1a

@ -31,7 +31,7 @@ import { getState, saveState } from '../lib/util'
const removeQueryString = str => {
const qI = str.indexOf('?')
return qI > 0 ? str.substr(0, qI) : str
return qI >= 0 ? str.substr(0, qI) : str
}
class Editor extends React.Component {

Loading…
Cancel
Save