Skip to content

Commit

Permalink
lint errors fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Fedotov authored and Denys Fedotov committed May 30, 2024
1 parent 45981f5 commit aa23a1e
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions libs/features/personalization/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,17 +254,20 @@ function createPreviewPill(manifests) {
</div>
</div>
</div>
</div>
<div class="dark">
<a class="con-button outline button-l" href="${simulateHref.href}" title="Preview above choices">Preview</a>
</div>`;
const darkDiv = document.createElement('div');
const button = document.createElement('a');
darkDiv.className = 'dark';
button.className = 'con-button outline button-l';
button.title = 'Preview above choices';
button.text = 'Preview';
button.href = simulateHref.href;
darkDiv.append(button);

const darkDiv = document.createElement('div')
const button = document.createElement('a')
darkDiv.className = 'dark'
button.className = 'con-button outline button-l'
button.title = 'Preview above choices'
button.text = 'Preview'
button.href = simulateHref.href
darkDiv.append(button)
div.append(darkDiv)
div.append(darkDiv);

overlay.append(div);
addPillEventListeners(div);
Expand Down

0 comments on commit aa23a1e

Please sign in to comment.