diff options
author | jeresig <jeresig@gmail.com> | 2011-01-17 15:45:07 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2011-01-17 15:45:07 -0500 |
commit | 987c44bee48557f693a59bc7ecc1bbe1718c428c (patch) | |
tree | 56c29f0f3f1acf29aae301546c4397fa0c78b92f /src/event.js | |
parent | ac2e731b2d219fd516a166a058831de1ff949d4a (diff) | |
parent | 007e2d152e10a8feffa347b5f328d2cb4bd45327 (diff) | |
download | jquery-987c44bee48557f693a59bc7ecc1bbe1718c428c.tar.gz jquery-987c44bee48557f693a59bc7ecc1bbe1718c428c.zip |
Merging pull request 183 for #7793.
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js index 675e5fff3..34cd91b85 100644 --- a/src/event.js +++ b/src/event.js @@ -603,7 +603,7 @@ jQuery.Event = function( src ) { // Events bubbling up the document may have been marked as prevented // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false || + this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false || src.getPreventDefault && src.getPreventDefault()) ? returnTrue : returnFalse; // Event type |