mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Updated hash path for opening search modal
refs https://github.com/TryGhost/Team/issues/1665 - updates hash path for opening search from `#/sodo-search` to `#/search`
This commit is contained in:
parent
d3e74b8c01
commit
fb8765db09
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export default class App extends React.Component {
|
||||||
|
|
||||||
handleSearchUrl() {
|
handleSearchUrl() {
|
||||||
const [path] = window.location.hash.substr(1).split('?');
|
const [path] = window.location.hash.substr(1).split('?');
|
||||||
if (path === '/sodo-search') {
|
if (path === '/search' || path === '/search/') {
|
||||||
this.setState({
|
this.setState({
|
||||||
showPopup: true
|
showPopup: true
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue