diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/features/composer/index.js | 4 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/features/local_settings/page/index.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md index 150b6c72b..470e379dc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > Now with automated deploys! -[![Build Status](https://img.shields.io/circleci/project/github/glitch-soc/mastodon.svg)](https://travis-ci.org/glitch-soc/mastodon) +[![Build Status](https://img.shields.io/circleci/project/github/glitch-soc/mastodon.svg)][circleci] [circleci]: https://circleci.com/gh/glitch-soc/mastodon diff --git a/app/javascript/flavours/glitch/features/composer/index.js b/app/javascript/flavours/glitch/features/composer/index.js index 0820ab2e3..522f9d798 100644 --- a/app/javascript/flavours/glitch/features/composer/index.js +++ b/app/javascript/flavours/glitch/features/composer/index.js @@ -242,7 +242,7 @@ const handlers = { } // Submit disabled: - if (isSubmitting || isUploading || (!!text.length && !text.trim().length && !anyMedia)) { + if (isSubmitting || isUploading || (!text.trim().length && !anyMedia)) { return; } @@ -416,7 +416,7 @@ class Composer extends React.Component { spoilersAlwaysOn, } = this.props; - let disabledButton = isSubmitting || isUploading || (!!text.length && !text.trim().length && !anyMedia); + let disabledButton = isSubmitting || isUploading || (!text.trim().length && !anyMedia); return ( <div className='composer'> diff --git a/app/javascript/flavours/glitch/features/local_settings/page/index.js b/app/javascript/flavours/glitch/features/local_settings/page/index.js index 2e14c9dd5..3859c1947 100644 --- a/app/javascript/flavours/glitch/features/local_settings/page/index.js +++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js @@ -96,7 +96,7 @@ export default class LocalSettingsPage extends React.PureComponent { </div> ), ({ intl, onChange, settings }) => ( - <div className='glitch local-settings_page compose_box_opts'> + <div className='glitch local-settings__page compose_box_opts'> <h1><FormattedMessage id='settings.compose_box_opts' defaultMessage='Compose box options' /></h1> <LocalSettingsPageItem settings={settings} |