From 7d13c3ebef352d3d5b7b8025d09af7fec1e4ac7c Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 5 Dec 2014 15:00:25 -0500 Subject: [PATCH] Fixes #1383 issue when using select with values that include capital letters --- src/definitions/modules/dropdown.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index c1f33c478..c0c4fd1b3 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1448,12 +1448,7 @@ $.fn.dropdown.settings.templates = { html = '' ; $.each(select.values, function(value, name) { - if(value === name) { - html += '
' + name + '
'; - } - else { - html += '
' + name + '
'; - } + html += '
' + name + '
'; }); return html; }, @@ -1472,12 +1467,7 @@ $.fn.dropdown.settings.templates = { } html += ''; return html;