Skip to content

Commit

Permalink
#2020 Fixes trim string method being called on non-string dropdown va…
Browse files Browse the repository at this point in the history
…lues
  • Loading branch information
jlukic committed Mar 26, 2015
1 parent d420cb0 commit 7034230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ $.fn.dropdown = function(parameters) {
? $choice.data(metadata.value)
: (typeof choiceText === 'string')
? choiceText.toLowerCase().trim()
: choiceText.trim()
: choiceText
;
},
inputEvent: function() {
Expand Down

0 comments on commit 7034230

Please sign in to comment.