From 7af43e256c319bf525daca04de25ad91e9e922ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Mon, 22 Feb 2016 03:30:49 +0800 Subject: [PATCH] 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