Skip to content

Commit

Permalink
Fix: Syntax error, unrecognized expression: <div
Browse files Browse the repository at this point in the history
  • Loading branch information
bigomega committed Mar 4, 2014
1 parent 5f98c83 commit 1a5e055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.ddslick.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
else options.data = $.merge(ddSelect, options.data);

//Replace HTML select with empty placeholder, keep the original
var original = obj, placeholder = $('<div').attr('id', obj.attr('id') + '-dd-placeholder');
var original = obj, placeholder = $('<div>').attr('id', obj.attr('id') + '-dd-placeholder');
obj.replaceWith(placeholder);
obj = placeholder;

Expand Down

0 comments on commit 1a5e055

Please sign in to comment.