Commit 0de81032 authored by Kichikakhunov's avatar Kichikakhunov

After coding I think that $select and $container equally useful in onInitialized event

parent c8a2e67d
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
this.$select.hide().after(this.$container); this.$select.hide().after(this.$container);
this.options.onInitialized(this.$container); this.options.onInitialized(this.$select, this.$container);
}; };
Multiselect.prototype = { Multiselect.prototype = {
...@@ -307,9 +307,10 @@ ...@@ -307,9 +307,10 @@
/** /**
* Triggered after initializing. * Triggered after initializing.
* *
* @param {jQuery} $select
* @param {jQuery} $container * @param {jQuery} $container
*/ */
onInitialized: function($container) { onInitialized: function($select, $container) {
}, },
enableHTML: false, enableHTML: false,
......
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