Skip to content

Commit

Permalink
Merge branch 'hotfix/theme-and-js-lint'
Browse files Browse the repository at this point in the history
  • Loading branch information
buttflattery committed Apr 2, 2019
2 parents cac6f40 + d8977c9 commit e449af5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/assets/css/theme/smart_wizard_theme_material-v.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
float: none;
display: block;
padding: 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0px 1px rgba(0, 0, 0, 0.2);
}

.sw-theme-material-v .step-anchor a {
Expand All @@ -107,10 +107,10 @@
}

.sw-theme-material-v ul.step-anchor>li.active a {
background-color: #4caf50 !important;
background-color: rgb(76, 117, 175) !important;
color: #fff !important;
cursor: default;
padding: 15px 130px 10px 10px;
padding: 20px 30px 20px 10px;
}

.sw-theme-material-v ul.step-anchor li.done a {
Expand Down
6 changes: 3 additions & 3 deletions src/assets/css/theme/smart_wizard_theme_material-v.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
float: none;
display: block;
padding: 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0px 1px rgba(0, 0, 0, 0.2);
}

.sw-theme-material-v .step-anchor a {
Expand All @@ -107,10 +107,10 @@
}

.sw-theme-material-v ul.step-anchor>li.active a {
background-color: #4caf50 !important;
background-color: rgb(76, 117, 175) !important;
color: #fff !important;
cursor: default;
padding: 15px 130px 10px 10px;
padding: 20px 30px 20px 10px;
}

.sw-theme-material-v ul.step-anchor li.done a {
Expand Down
5 changes: 3 additions & 2 deletions src/assets/js/formwizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,9 @@ $.formwizard = {
lastKeyIndex = keyPath.length - 1;
for (var i = 0; i < lastKeyIndex; ++i) {
key = keyPath[i];
if (!(key in obj))
obj[key] = {}
if (!(key in obj)) {
obj[key] = {};
}
obj = obj[key];
}
obj[keyPath[lastKeyIndex]] = value;
Expand Down

0 comments on commit e449af5

Please sign in to comment.