1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

hotfix: Edited alertが変な時に出る

This commit is contained in:
Rokt33r
2015-11-18 18:39:27 +09:00
parent 51f530ffbe
commit ee78c0d33b
2 changed files with 6 additions and 1 deletions

View File

@@ -378,6 +378,11 @@ export default class ArticleDetail extends React.Component {
} }
handleContentChange (e, value) { handleContentChange (e, value) {
let { status } = this.props
if (status.mode === IDLE_MODE) {
return
}
let { article } = this.state let { article } = this.state
article.content = value article.content = value
let _isContentChanged = article.content !== this.props.activeArticle.content let _isContentChanged = article.content !== this.props.activeArticle.content

View File

@@ -1,6 +1,6 @@
{ {
"name": "boost", "name": "boost",
"version": "0.4.1-beta", "version": "0.4.1-beta.1",
"description": "Boost App", "description": "Boost App",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {