-(function () {
-
- 'use strict';
+/**
+* DO NOT EDIT THIS FILE.
+* See the following change record for more information,
+* https://www.drupal.org/node/2815083
+* @preserve
+**/
+(function () {
function findActiveStep(steps) {
for (var i = 0; i < steps.length; i++) {
if (steps[i].className === 'is-active') {
return i + 1;
}
}
- // The final "Finished" step is never "active".
+
if (steps[steps.length - 1].className === 'done') {
return steps.length;
}
if (document.addEventListener) {
document.addEventListener('DOMContentLoaded', installStepsSetup);
}
-
-})();
+})();
\ No newline at end of file