Skip to content

Commit

Permalink
Merge pull request #56 from LuminusDev/fixHtmlDoc
Browse files Browse the repository at this point in the history
#45 Fix ordering bug with add function on WebKit
  • Loading branch information
Miguel Ángel Pérez committed Aug 24, 2014
2 parents c2cfb50 + 1697b84 commit e6cc6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.smoothState.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
htmlParsed = html.replace(matchTag, function(tag, slash, name, attrs) {
var obj = {};
if (!slash) {
elems = elems.add("<" + name + "/>");
$.merge(elems, $("<" + name + "/>"));
if (attrs) {
$.each($("<div" + attrs + "/>")[0].attributes, function(i, attr) {
obj[attr.name] = attr.value;
Expand Down

0 comments on commit e6cc6aa

Please sign in to comment.