Skip to content

Commit

Permalink
Replace complex find with api call
Browse files Browse the repository at this point in the history
  • Loading branch information
trentrichardson committed Mar 12, 2015
1 parent 123e309 commit d83b2d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/jquery-impromptu.js
Expand Up @@ -489,7 +489,7 @@
$state.on('impromptu:submit', stateobj.submit);

if(afterState !== undefined){
$jqistates.find('[data-jqi-name="'+afterState+'"]').after($state);
t.getState(afterState).after($state);
}
else{
$jqistates.append($state);
Expand Down

0 comments on commit d83b2d6

Please sign in to comment.