Commit 4b99758f authored by David Stutz's avatar David Stutz

Merge pull request #397 from dfisch/master

Allow options to be defined by data attributes.
parents fb70b2ad 7241db0a
......@@ -91,8 +91,8 @@
*/
function Multiselect(select, options) {
this.options = this.mergeOptions(options);
this.$select = $(select);
this.options = this.mergeOptions($.extend({}, options, this.$select.data()));
// Initialization.
// We have to clone to create a new reference.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment