Merge branch 'master' into glitch-soc/merge-upstream

master
Thibaut Girka 6 years ago
commit 7778de467c
  1. 5
      app/javascript/mastodon/components/status.js
  2. 2
      app/views/settings/preferences/other/show.html.haml

@ -171,6 +171,11 @@ class Status extends ImmutablePureComponent {
} }
handleExpandClick = (e) => { handleExpandClick = (e) => {
if (this.props.onClick) {
this.props.onClick();
return;
}
if (e.button === 0) { if (e.button === 0) {
if (!this.context.router) { if (!this.context.router) {
return; return;

@ -1,7 +1,7 @@
- content_for :page_title do - content_for :page_title do
= t('settings.preferences') = t('settings.preferences')
= simple_form_for current_user, url: settings_preferences_path, html: { method: :put } do |f| = simple_form_for current_user, url: settings_preferences_other_path, html: { method: :put } do |f|
= render 'shared/error_messages', object: current_user = render 'shared/error_messages', object: current_user
.fields-group .fields-group

Loading…
Cancel
Save