Skip to content

Commit

Permalink
Append to preview after render
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Nov 26, 2023
1 parent 7e7f051 commit d41c817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ export class ShortcutPreview {

container = document.createElement('div');
container.className = 'sp-container ios';
preview.appendChild(container);

containers = [];
containers.push(container);
Expand All @@ -178,5 +177,6 @@ export class ShortcutPreview {
container.appendChild(empty);
}

preview.appendChild(container);
}
}

0 comments on commit d41c817

Please sign in to comment.