mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(term) stopPropogation, cancelBubble
This commit is contained in:
parent
42e43068fb
commit
c9a0c7e59f
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue