Skip to content

Commit

Permalink
[fixed] Modal open() method spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
minwe committed Dec 9, 2015
1 parent 444ebc0 commit dcdf80a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Change Log

- `Fixed` 修复 Modal `open()` 方法判断逻辑始终为 `true` 的错误。

### v0.1.0-beta1 (2015/11/17)

- `Improved` [81c4c1a](https://github.com/amazeui/amazeui-touch/commit/81c4c1a23fa5fca4a3352e3a8711a79fa04d7b3b) 移除 `input[type="range"]` 在 Safari 中的黑色边框
Expand All @@ -9,4 +11,4 @@
- `Fixed` [33305f4](https://github.com/amazeui/amazeui-touch/commit/33305f49405b09ec578fdf530a54012e1fd9bf43) #7 修复 Modal 遮罩层显示问题(via [519ae20](https://github.com/amazeui/amazeui-touch/commit/519ae20c8646252c06b819c538c74395a4e47b22)
- `Changed` [44bfec0](https://github.com/amazeui/amazeui-touch/commit/44bfec03b4fbee022914476abb88b3f090f8d093) #10 替换 Loader 样式,移除 SVG
- `Improved` [ea51873](https://github.com/amazeui/amazeui-touch/commit/ea51873871d70e131b1d307a1a4236d89e37774e) Button 添加 `:hover` 样式
- `Improved` [338dca4](https://github.com/amazeui/amazeui-touch/commit/338dca48a0fec187ebbcd6215853f27942c6ab99) 官网添加 kitchen-sink 二维码
- `Improved` [338dca4](https://github.com/amazeui/amazeui-touch/commit/338dca48a0fec187ebbcd6215853f27942c6ab99) 官网添加 kitchen-sink 二维码
2 changes: 1 addition & 1 deletion src/js/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const Modal = React.createClass({
},

open() {
if (this.isClosed) {
if (this.isClosed()) {
this.setState({
isClosing: false,
closed: false
Expand Down

0 comments on commit dcdf80a

Please sign in to comment.