X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fthemes%2Fseven%2Fjs%2Fmobile.install.js;h=57c2823fca6d4bae4b6d60c77cca9ba23fef6b9b;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=e7a0b5c18ac96512b2d40b4bcc9b942603351088;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/themes/seven/js/mobile.install.js b/web/core/themes/seven/js/mobile.install.js index e7a0b5c18..57c2823fc 100644 --- a/web/core/themes/seven/js/mobile.install.js +++ b/web/core/themes/seven/js/mobile.install.js @@ -1,14 +1,18 @@ -(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; } @@ -29,5 +33,4 @@ if (document.addEventListener) { document.addEventListener('DOMContentLoaded', installStepsSetup); } - -})(); +})(); \ No newline at end of file