commit 7af43e256c319bf525daca04de25ad91e9e922ed
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2016-02-21T19:30:49Z |
| subject | Wrong bool passed on the "No" action |
commit 7af43e256c319bf525daca04de25ad91e9e922ed
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2016-02-21T19:30:49Z
Wrong bool passed on the "No" action
---
botanjs/src/Components/MessageBox.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/botanjs/src/Components/MessageBox.js b/botanjs/src/Components/MessageBox.js
index 4d5f8a4..b004115 100644
--- a/botanjs/src/Components/MessageBox.js
+++ b/botanjs/src/Components/MessageBox.js
@@ -71,7 +71,7 @@
, Dand.wrap( "span", null, "comp flsf", no )
);
- _no.onclick = this.close;
+ _no.onclick = function(){ _self.close( false ) };
}
// set handler