Skip to content

Commit

Permalink
update!
Browse files Browse the repository at this point in the history
  • Loading branch information
turbomaster95 committed Aug 25, 2024
1 parent 4586f9b commit 9f8b3e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const preElement = document.querySelector('pre');

const isMobileDevice = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);

// Function to fetch ASCII art from a file
Expand All @@ -17,6 +17,7 @@ async function fetchAsciiArt(filename) {

// Load ASCII art and update <pre>
async function displayAsciiArt() {
const preElement = document.querySelector('pre');
const bigAsciiArt = await fetchAsciiArt('bigasciiart.txt');
const smallAsciiArt = await fetchAsciiArt('smallasciiart.txt');

Expand Down

0 comments on commit 9f8b3e8

Please sign in to comment.