about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/dropdown_menu.js
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2018-01-05 21:02:53 -0800
committerkibigo! <marrus-sh@users.noreply.github.com>2018-01-05 21:02:53 -0800
commit6932b464e6952a9d29787a140a026dce724bfb59 (patch)
treecdfcaadfa2df398a1cabf8c2858ef8005663371c /app/javascript/flavours/glitch/components/dropdown_menu.js
parentad10a80a9925c247ef14837d3a14ff7e7375f001 (diff)
Fixed improper dropdown func binding for #293 + toot button spacing
Diffstat (limited to 'app/javascript/flavours/glitch/components/dropdown_menu.js')
-rw-r--r--app/javascript/flavours/glitch/components/dropdown_menu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/dropdown_menu.js b/app/javascript/flavours/glitch/components/dropdown_menu.js
index 706390c92..7ba7fb22b 100644
--- a/app/javascript/flavours/glitch/components/dropdown_menu.js
+++ b/app/javascript/flavours/glitch/components/dropdown_menu.js
@@ -137,7 +137,7 @@ export default class Dropdown extends React.PureComponent {
           (item, i) => item ? {
             ...item,
             name: `${item.text}-${i}`,
-            onClick: this.handleItemClick.bind(i),
+            onClick: this.handleItemClick.bind(this, i),
           } : null
         ),
       });