Commit 04a0c1f8 authored by hbcui1984's avatar hbcui1984

Fixed:在没有绑定事件的情况下,直接调用off取消绑定时,JS报错

parent ae8da7ac
......@@ -4341,8 +4341,8 @@ select:focus
font-size: 14px;
width: 270px;
margin: 5px auto 5px auto;
padding: 5px 5px 5px 5px;
margin: 5px auto;
padding: 5px;
text-align: center;
......
......@@ -928,7 +928,7 @@ Function.prototype.bind = Function.prototype.bind || function(to) {
};
var findDelegateFn = function(element, event) {
var delegateCallbacks = delegateFns[mid(element)];
var result = false;
var result = [];
if (delegateCallbacks) {
result = [];
if (event) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -4341,8 +4341,8 @@ select:focus
font-size: 14px;
width: 270px;
margin: 5px auto 5px auto;
padding: 5px 5px 5px 5px;
margin: 5px auto;
padding: 5px;
text-align: center;
......
......@@ -928,7 +928,7 @@ Function.prototype.bind = Function.prototype.bind || function(to) {
};
var findDelegateFn = function(element, event) {
var delegateCallbacks = delegateFns[mid(element)];
var result = false;
var result = [];
if (delegateCallbacks) {
result = [];
if (event) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -101,7 +101,7 @@
};
var findDelegateFn = function(element, event) {
var delegateCallbacks = delegateFns[mid(element)];
var result = false;
var result = [];
if (delegateCallbacks) {
result = [];
if (event) {
......
......@@ -6,8 +6,8 @@
}
.#{$namespace}toast-message {
width: 270px;
margin: 5px auto 5px auto;
padding: 5px 5px 5px 5px;
margin: 5px auto;
padding: 5px;
background-color: #D8D8D8;
text-align: center;
color: #000;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment