about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/column_back_button.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/column_back_button.js')
-rw-r--r--app/javascript/mastodon/components/column_back_button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/column_back_button.js b/app/javascript/mastodon/components/column_back_button.js
index 9d2de40f5..6c61ca6d4 100644
--- a/app/javascript/mastodon/components/column_back_button.js
+++ b/app/javascript/mastodon/components/column_back_button.js
@@ -9,7 +9,7 @@ class ColumnBackButton extends React.PureComponent {
   };
 
   handleClick = () => {
-    if (window.history && window.history.length === 1) this.context.router.push("/");
+    if (window.history && window.history.length === 1) this.context.router.push('/');
     else this.context.router.goBack();
   }