dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace deprecated jQuery.nodeName
[lhc/web/wiklou.git]
/
resources
/
src
/
jquery
/
jquery.makeCollapsible.js
diff --git
a/resources/src/jquery/jquery.makeCollapsible.js
b/resources/src/jquery/jquery.makeCollapsible.js
index
eef3846
..
7296811
100644
(file)
--- a/
resources/src/jquery/jquery.makeCollapsible.js
+++ b/
resources/src/jquery/jquery.makeCollapsible.js
@@
-159,7
+159,7
@@
if (
e.type === 'click' &&
options.linksPassthru &&
-
$.nodeName( e.target, 'a' )
&&
+
e.target.nodeName.toLowerCase() === 'a'
&&
$( e.target ).attr( 'href' ) &&
$( e.target ).attr( 'href' ) !== '#'
) {