about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authortmm576 <tmm576@users.noreply.github.com>2019-01-17 03:22:12 -0500
committerEugen Rochko <eugen@zeonfederated.com>2019-01-17 09:22:12 +0100
commit30af4ee65ff43c17d6f7b1b64d6bf1d8699f37c8 (patch)
treecbbb6d9e2d3763b41116672f86fc79f5f028684f /app
parent3b3a4d8a1709b8f4a9ffe67d21707117c75f9fe8 (diff)
Hide floating action button on search and getting started pages (#9826)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/ui/components/columns_area.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/columns_area.js b/app/javascript/mastodon/features/ui/components/columns_area.js
index ed338c2eb..b7e350cbc 100644
--- a/app/javascript/mastodon/features/ui/components/columns_area.js
+++ b/app/javascript/mastodon/features/ui/components/columns_area.js
@@ -33,7 +33,7 @@ const messages = defineMessages({
   publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },
 });
 
-const shouldHideFAB = path => path.match(/^\/statuses\//);
+const shouldHideFAB = path => path.match(/^\/statuses\/|^\/search|^\/getting-started/);
 
 export default @(component => injectIntl(component, { withRef: true }))
 class ColumnsArea extends ImmutablePureComponent {