mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
Make Prettier happy
This commit is contained in:
parent
f060c9b3ff
commit
60db57acc0
|
@ -121,7 +121,7 @@ const FooterNavComponent = MountWidget.extend(
|
|||
setBackForward() {
|
||||
let index = this.get("currentRouteIndex");
|
||||
|
||||
this.set("canGoBack", (index > 1 || document.referrer) ? true : false);
|
||||
this.set("canGoBack", index > 1 || document.referrer ? true : false);
|
||||
this.set("canGoForward", index < this.routeHistory.length ? true : false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,4 +56,3 @@ body.footer-nav-visible {
|
|||
-webkit-backdrop-filter: blur(10px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user