summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteunix <rs4000@gmail.com>2014-07-18 12:05:44 +0200
committersteunix <rs4000@gmail.com>2014-07-18 12:05:44 +0200
commit9d445ad0fa0d0640b02f16a67bd095e47c163270 (patch)
tree1c9c25024594e921bd607c757473508bf9d48d2d
parent1e19de75c83d8f2142613171ef110dbe76d1398c (diff)
downloadmultiple-select-9d445ad0fa0d0640b02f16a67bd095e47c163270.zip
multiple-select-9d445ad0fa0d0640b02f16a67bd095e47c163270.tar.gz
multiple-select-9d445ad0fa0d0640b02f16a67bd095e47c163270.tar.bz2
Update jquery.multiple.select.js
div tag must be close, otherwise it does break XHTML pages.
-rw-r--r--jquery.multiple.select.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js
index de87c65..47ab716 100644
--- a/jquery.multiple.select.js
+++ b/jquery.multiple.select.js
@@ -20,7 +20,7 @@
var attValue = that.$el.attr(att) || '';
attValue = (att === 'class' ? ('ms-parent' + (attValue ? ' ' : '')) : '') + attValue;
return attValue ? (' ' + att + '="' + attValue + '"') : '';
- }).join('') + '>');
+ }).join('') + ' />');
this.$choice = $('<button type="button" class="ms-choice"><span class="placeholder">' +
options.placeholder + '</span><div></div></button>');
this.$drop = $('<div class="ms-drop ' + options.position + '"></div>');