Skip to content

Commit 7ea72b5

Browse files
authored
Merge pull request #26 from Nefariusek/bug/quiz-timer
Fix image paths
2 parents 8701410 + c0a41c7 commit 7ea72b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function Button(label, className, animate, eventListener, callbac
2626

2727
const addKoala = (button) => {
2828
const koala = document.createElement('img');
29-
koala.src = '/cute_koala.png';
29+
koala.src = './cute_koala.png';
3030
koala.classList.add('koala', 'hidden');
3131

3232
button.onmouseover = () => {

src/components/timer/quiz-timer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function createTimer() {
55
clock.setAttribute('id', 'clock');
66

77
const image = document.createElement('img');
8-
image.src = '/timer.png';
8+
image.src = './timer.png';
99

1010
const minutes = document.createElement('span');
1111
minutes.setAttribute('id', 'timer-minutes');

0 commit comments

Comments
 (0)