mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03: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
@ -43,7 +43,7 @@ export default class App extends React.Component {
|
||||
|
||||
handleSearchUrl() {
|
||||
const [path] = window.location.hash.substr(1).split('?');
|
||||
if (path === '/sodo-search') {
|
||||
if (path === '/search' || path === '/search/') {
|
||||
this.setState({
|
||||
showPopup: true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user