Skip to content

Commit

Permalink
fix: store $element on json
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelkaron committed May 8, 2017
1 parent 1f4eff3 commit 5ab565f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion walk.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
if ($.isFunction(json.$element)) {
$element = json.$element();
}
else if ($element = create.call(me, $, json)) {
else if ($element = json.$element = create.call(me, $, json)) {
$element
.data("mu-jquery-widget-cyoa", json)
.append($children);
Expand Down

0 comments on commit 5ab565f

Please sign in to comment.