Accordions are now collapsable. Fixed jshint warning.

This commit is contained in:
Chris Houseknecht 2014-03-06 15:22:16 -05:00
parent 414e43c469
commit 129fed0c64
2 changed files with 2 additions and 2 deletions

View File

@ -336,7 +336,7 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
if (defn.story.steps.length > 1) {
btns.push({
text: "Prev",
click: function (e) {
click: function () {
if (current_step - 1 === 0) {
$('#help-prev-button').prop('disabled', true);
}

View File

@ -320,7 +320,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies', 'Utilities'])
}
$(this).accordion({
collapsible: false,
collapsible: true,
heightStyle: 'content',
active: active,
activate: function () {