From 3f77cf119f007749d65c32005e93f96bf26d1151 Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 15 Sep 2017 16:23:18 +0800 Subject: [PATCH] click-hover --- bi/base.js | 2 +- dist/base.js | 2 +- dist/bundle.js | 2 +- src/base/combination/combo.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bi/base.js b/bi/base.js index e7cb34fd4..e2b18acbc 100644 --- a/bi/base.js +++ b/bi/base.js @@ -3058,7 +3058,7 @@ BI.Combo = BI.inherit(BI.Widget, { } } }, BI.EVENT_RESPONSE_TIME, true); - self.element.off(ev + "." + self.getName()).on(ev + "." + self.getName(), function (e) { + self.element.off("click." + self.getName()).on("click." + self.getName(), function (e) { debounce(e); st(e); }); diff --git a/dist/base.js b/dist/base.js index 696292e97..f73bed46a 100644 --- a/dist/base.js +++ b/dist/base.js @@ -3058,7 +3058,7 @@ BI.Combo = BI.inherit(BI.Widget, { } } }, BI.EVENT_RESPONSE_TIME, true); - self.element.off(ev + "." + self.getName()).on(ev + "." + self.getName(), function (e) { + self.element.off("click." + self.getName()).on("click." + self.getName(), function (e) { debounce(e); st(e); }); diff --git a/dist/bundle.js b/dist/bundle.js index 40da0e62f..c4817eb37 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -31864,7 +31864,7 @@ BI.Combo = BI.inherit(BI.Widget, { } } }, BI.EVENT_RESPONSE_TIME, true); - self.element.off(ev + "." + self.getName()).on(ev + "." + self.getName(), function (e) { + self.element.off("click." + self.getName()).on("click." + self.getName(), function (e) { debounce(e); st(e); }); diff --git a/src/base/combination/combo.js b/src/base/combination/combo.js index ed6cf8536..8b38fe2b1 100644 --- a/src/base/combination/combo.js +++ b/src/base/combination/combo.js @@ -160,7 +160,7 @@ BI.Combo = BI.inherit(BI.Widget, { } } }, BI.EVENT_RESPONSE_TIME, true); - self.element.off(ev + "." + self.getName()).on(ev + "." + self.getName(), function (e) { + self.element.off("click." + self.getName()).on("click." + self.getName(), function (e) { debounce(e); st(e); });