projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website]
/
web
/
core
/
themes
/
seven
/
js
/
responsive-details.js
diff --git
a/web/core/themes/seven/js/responsive-details.js
b/web/core/themes/seven/js/responsive-details.js
index 62ad4b2b35fc6a006b70a60923d4e1b675c8d159..3c62e3cef6af47dfb1d0190b9aa1af256d99fe86 100644
(file)
--- a/
web/core/themes/seven/js/responsive-details.js
+++ b/
web/core/themes/seven/js/responsive-details.js
@@
-14,6
+14,8
@@
return;
}
return;
}
+ var $summaries = $details.find('> summary');
+
function detailsToggle(matches) {
if (matches) {
$details.attr('open', true);
function detailsToggle(matches) {
if (matches) {
$details.attr('open', true);
@@
-31,7
+33,6
@@
detailsToggle(event.matches);
}
detailsToggle(event.matches);
}
- var $summaries = $details.find('> summary');
var mql = window.matchMedia('(min-width:48em)');
mql.addListener(handleDetailsMQ);
detailsToggle(mql.matches);
var mql = window.matchMedia('(min-width:48em)');
mql.addListener(handleDetailsMQ);
detailsToggle(mql.matches);