about summary refs log tree commit diff
path: root/app/javascript/mastodon/components
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-10-04 15:02:36 +0200
committerGitHub <noreply@github.com>2020-10-04 15:02:36 +0200
commita549415868fe23e0afaf258c17afafac117d0163 (patch)
treee7132d73c4130d02c94d6fc86b2bdf6aa6e40183 /app/javascript/mastodon/components
parent16b776c68f8ce40c9e31b00d0ca8e5844b237ed4 (diff)
Fix regressions in icon buttons in web UI (#14915)
Diffstat (limited to 'app/javascript/mastodon/components')
-rw-r--r--app/javascript/mastodon/components/icon_button.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/components/icon_button.js b/app/javascript/mastodon/components/icon_button.js
index 7f83dc1b9..7ec39198a 100644
--- a/app/javascript/mastodon/components/icon_button.js
+++ b/app/javascript/mastodon/components/icon_button.js
@@ -116,6 +116,7 @@ export default class IconButton extends React.PureComponent {
       activate,
       deactivate,
       overlayed: overlay,
+      'icon-button--with-counter': typeof counter !== 'undefined',
     });
 
     if (typeof counter !== 'undefined') {