Mercurial > hg > isophonics-drupal-site
comparison core/themes/seven/js/mobile.install.es6.js @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
1 (function () { | 1 (function() { |
2 function findActiveStep(steps) { | 2 function findActiveStep(steps) { |
3 for (let i = 0; i < steps.length; i++) { | 3 for (let i = 0; i < steps.length; i++) { |
4 if (steps[i].className === 'is-active') { | 4 if (steps[i].className === 'is-active') { |
5 return i + 1; | 5 return i + 1; |
6 } | 6 } |
24 } | 24 } |
25 | 25 |
26 if (document.addEventListener) { | 26 if (document.addEventListener) { |
27 document.addEventListener('DOMContentLoaded', installStepsSetup); | 27 document.addEventListener('DOMContentLoaded', installStepsSetup); |
28 } | 28 } |
29 }()); | 29 })(); |