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
Merge "UploadBase: Avoid deprecated wfMemcKey()"
[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
9d3df8c
..
ac4a392
100644
(file)
--- a/
resources/src/jquery/jquery.makeCollapsible.js
+++ b/
resources/src/jquery/jquery.makeCollapsible.js
@@
-152,7
+152,8
@@
if ( e ) {
if (
e.type === 'click' &&
- e.target.nodeName.toLowerCase() === 'a'
+ e.target.nodeName.toLowerCase() === 'a' &&
+ $( e.target ).attr( 'href' )
) {
// Don't fire if a link was clicked (for premade togglers)
return;