diff --git a/app/assets/javascripts/discourse/components/footer-nav.js.es6 b/app/assets/javascripts/discourse/components/footer-nav.js.es6 index 3fe473baabe..56eecf2966a 100644 --- a/app/assets/javascripts/discourse/components/footer-nav.js.es6 +++ b/app/assets/javascripts/discourse/components/footer-nav.js.es6 @@ -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); } } diff --git a/app/assets/stylesheets/common/components/footer-nav.scss b/app/assets/stylesheets/common/components/footer-nav.scss index a4f2049702c..f303371495b 100644 --- a/app/assets/stylesheets/common/components/footer-nav.scss +++ b/app/assets/stylesheets/common/components/footer-nav.scss @@ -56,4 +56,3 @@ body.footer-nav-visible { -webkit-backdrop-filter: blur(10px); } } -