mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
reverting fix deprecated warning returnValue use preventDefault() in jquery
This commit is contained in:
parent
0a5001ea11
commit
af0876708f
2
phpgwapi/js/jquery/jquery.js
vendored
2
phpgwapi/js/jquery/jquery.js
vendored
@ -5371,7 +5371,7 @@ jQuery.Event = function( src, props ) {
|
||||
|
||||
// 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.preventDefault() === false ||
|
||||
this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||
|
||||
src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
|
||||
|
||||
// Event type
|
||||
|
Loading…
Reference in New Issue
Block a user