From 9cca6a69777b48efe80cd20211e111f043980c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pauli=20J=C3=A4rvinen?= Date: Thu, 7 Nov 2024 23:07:19 +0200 Subject: [PATCH] Fix a typo in a comment --- js/dashboard/musicwidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/dashboard/musicwidget.ts b/js/dashboard/musicwidget.ts index baf105f9c..3a1c2b496 100644 --- a/js/dashboard/musicwidget.ts +++ b/js/dashboard/musicwidget.ts @@ -169,7 +169,7 @@ export class MusicWidget { #loadBackgroundImage($albumArt: JQuery, url: string) { /* Load the image first using an out-of-DOM element and then use the same image - as the background for the element. This is needed because loading the bacground-image + as the background for the element. This is needed because loading the background-image doesn't fire the onload event, making it impossible to timely remove the loading icon. */ $('').attr('src', url).on('load', function() { $(this).remove(); // prevent memory leaks