Skip to content

Commit

Permalink
Fixed bug for multiselectable option
Browse files Browse the repository at this point in the history
Closed #16
  • Loading branch information
nico3333fr committed Feb 23, 2017
1 parent b7bd96b commit 4359a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery-accessible-accordion-aria.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
var $el = $(this);

var specificOptions = {
multiselectable: $el.attr('data-accordion-multiselectable') === 'true' ? true : options.multiselectable,
multiselectable: $el.attr('data-accordion-multiselectable') === 'none' ? false : true,
prefixClass: typeof($el.attr('data-accordion-prefix-classes')) !== 'undefined' ? $el.attr('data-accordion-prefix-classes') : options.prefixClass,
direction: $el.closest('[dir="rtl"]').length > 0 ? 'rtl' : options.direction
};
Expand Down

0 comments on commit 4359a9c

Please sign in to comment.