Commit 2d4715fe authored by Leksat's avatar Leksat Committed by borisson_

Issue #2795545 by Leksat: Dropdown widget is broken in Internet Explorer

parent 675a8b7a
......@@ -28,6 +28,7 @@
var $default_option = $('<option />')
.attr('value', '')
.text(default_option_label);
$dropdown.append($default_option);
var has_active = false;
$links.each(function () {
......@@ -56,7 +57,6 @@
if (!has_active) {
$default_option.attr('selected', 'selected');
}
$dropdown.prepend($default_option);
// Append dropdown.
$(this).html($dropdown);
......
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