about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/status
diff options
context:
space:
mode:
authorcwm <chriswmartin@protonmail.com>2017-12-09 12:06:00 -0600
committercwm <chriswmartin@protonmail.com>2017-12-09 12:06:00 -0600
commit22cdbca82c06cced9568f0bd9361593a2c0eba81 (patch)
treea9e3de0da00a90de3daa9a1d0482cb9715977b48 /app/javascript/flavours/glitch/features/status
parenta489e5d5cd33f52e4af38e6977a284b367f2f95e (diff)
fixes, functioning now
Diffstat (limited to 'app/javascript/flavours/glitch/features/status')
-rw-r--r--app/javascript/flavours/glitch/features/status/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/status/index.js b/app/javascript/flavours/glitch/features/status/index.js
index 8b81caa9a..4a019ce20 100644
--- a/app/javascript/flavours/glitch/features/status/index.js
+++ b/app/javascript/flavours/glitch/features/status/index.js
@@ -103,7 +103,7 @@ export default class Status extends ImmutablePureComponent {
     if (status.get('favourited')) {
       this.props.dispatch(unfavourite(status));
     } else {
-      if (e.shiftKey || !favoriteModal) {
+      if (e.shiftKey || !favouriteModal) {
         this.handleModalFavourite(status);
       } else {
         this.props.dispatch(openModal('FAVOURITE', { status, onFavourite: this.handleModalFavourite }));