This commit is contained in:
Joffrey JAFFEUX 2019-07-18 23:15:36 +02:00 committed by GitHub
parent 8dfd0e0374
commit 533f5172d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -404,7 +404,7 @@ export default createWidget("header", {
const currentPath = this.register
.lookup("service:router")
.get("router._router.currentPath");
.get("_router.currentPath");
if (currentPath === "full-page-search") {
scrollTop();
@ -480,7 +480,7 @@ export default createWidget("header", {
const currentPath = this.register
.lookup("service:router")
.get("router._router.currentPath");
.get("_router.currentPath");
const blacklist = [/^discovery\.categories/];
const whitelist = [/^topic\./];
const check = function(regex) {