Skip to content

Commit 89b4ae0

Browse files
Fixed formatting issue
1 parent fcf9d81 commit 89b4ae0

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

index.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,17 @@
287287
Results will appear here...
288288
</div>
289289

290-
<button id="copyButton" class="btn btn-light" onclick="showCopiedMessage()">
290+
<button
291+
id="copyButton"
292+
class="btn btn-light"
293+
onclick="showCopiedMessage()"
294+
>
291295
<i class="fas fa-copy"></i>
292-
<span id="copiedMsg" style="display: none; color: green; margin-left: 10px;">Copied!</span>
296+
<span
297+
id="copiedMsg"
298+
style="display: none; color: green; margin-left: 10px"
299+
>Copied!</span
300+
>
293301
</button>
294302
</div>
295303
</div>
@@ -759,11 +767,11 @@
759767

760768
// show "Copied!" message when result is copied
761769
function showCopiedMessage() {
762-
const msg = document.getElementById("copiedMsg");
763-
msg.style.display = "inline";
770+
const msg = document.getElementById('copiedMsg');
771+
msg.style.display = 'inline';
764772

765773
setTimeout(() => {
766-
msg.style.display = "none";
774+
msg.style.display = 'none';
767775
}, 1500);
768776
}
769777

0 commit comments

Comments
 (0)