projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website]
/
web
/
core
/
themes
/
seven
/
js
/
mobile.install.js
diff --git
a/web/core/themes/seven/js/mobile.install.js
b/web/core/themes/seven/js/mobile.install.js
index e7a0b5c18ac96512b2d40b4bcc9b942603351088..57c2823fca6d4bae4b6d60c77cca9ba23fef6b9b 100644
(file)
--- 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;
}
}
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 (steps[steps.length - 1].className === 'done') {
return steps.length;
}
@@
-29,5
+33,4
@@
if (document.addEventListener) {
document.addEventListener('DOMContentLoaded', installStepsSetup);
}
if (document.addEventListener) {
document.addEventListener('DOMContentLoaded', installStepsSetup);
}
-
-})();
+})();
\ No newline at end of file