diff --git a/app/javascript/article-form/articleForm.jsx b/app/javascript/article-form/articleForm.jsx
index d9dc8d2d7..f2b5aab3e 100644
--- a/app/javascript/article-form/articleForm.jsx
+++ b/app/javascript/article-form/articleForm.jsx
@@ -212,10 +212,11 @@ export default class ArticleForm extends Component {
onClearChanges = e => {
e.preventDefault();
+ // eslint-disable-next-line no-restricted-globals
const revert = confirm(
'Are you sure you want to revert to the previous save?',
);
- if (!revert) return;
+ if (!revert && navigator.userAgent !== 'DEV-Native-ios') return;
this.setState({
title: this.article.title || '',
tagList: this.article.cached_tag_list || '',
@@ -276,7 +277,7 @@ export default class ArticleForm extends Component {
errors,
version
} = this.state;
- const notice = submitting ? : '';
+ const notice = submitting ? : '';
const imageArea = (mainImage && !previewShowing && version === 'v2') ? (
) : (
@@ -343,9 +344,11 @@ export default class ArticleForm extends Component {
)
controls = (
128 ? 'articleform__titleTooLong' : ''}>
-
+ onChange={linkState(this, 'title')}
+ />