Commit d0f43f45 authored by David Stutz's avatar David Stutz

Merge pull request #118 from roman-yerin/master

A small fix to a dropdown.
parents 0a857a08 c0b7a65a
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
var value = $(element).val(); var value = $(element).val();
var inputType = this.options.multiple ? "checkbox" : "radio"; var inputType = this.options.multiple ? "checkbox" : "radio";
var $li = $('<li><a href="javascript:void(0);"><label><input type="' + inputType + '" /></label></a></li>'); var $li = $('<li><a href="javascript:void(0);"><label class="' + inputType + '"><input type="' + inputType + '" /></label></a></li>');
var selected = $(element).prop('selected') || false; var selected = $(element).prop('selected') || false;
var $checkbox = $('input', $li); var $checkbox = $('input', $li);
......
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