Skip to content

Commit

Permalink
event.returnValue only for IE, and non-IE it will be deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglong committed Nov 19, 2013
1 parent 7ac21c1 commit 321658a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kindeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ _extend(KEvent, {
if (ev.preventDefault) {
ev.preventDefault();
}
ev.returnValue = false;
else {
ev.returnValue = false;
}
},
stopPropagation : function() {
var ev = this.event;
Expand Down

0 comments on commit 321658a

Please sign in to comment.