fix(term) stopPropogation, cancelBubble

This commit is contained in:
coderaiser 2014-06-02 08:58:07 -04:00
parent 42e43068fb
commit c9a0c7e59f

View file

@ -5622,8 +5622,8 @@ function off(el, type, handler, capture) {
function cancel(ev) {
if (ev.preventDefault) ev.preventDefault();
ev.returnValue = false;
if (ev.stopPropagation) ev.stopPropagation();
ev.cancelBubble = true;
//if (ev.stopPropagation) ev.stopPropagation();
//ev.cancelBubble = true;
return false;
}