Permalink
Browse files

spanTag text uses .text() instead of .html(). Fixes a bug where <opti…

…on>'s have &amp; as text.
  • Loading branch information...
1 parent 2446d99 commit b0a9b83d0ff69532cad17cfd7073116c68e8ed8f Caleb Wright committed Jan 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.uniform.js
View
@@ -182,7 +182,7 @@ Enjoy!
elem.bind({
"change.uniform": function() {
- spanTag.text(elem.find(":selected").html());
+ spanTag.text(elem.find(":selected").text());
divTag.removeClass(options.activeClass);
},
"focus.uniform": function() {

0 comments on commit b0a9b83

Please sign in to comment.