From 5d4ed8e167c25eef0379157330e705c556f2fe42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Mon, 13 Apr 2020 23:14:36 +0100 Subject: [PATCH] Fix missing function call for no-js class removal --- src/lib/js/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/js/main.ts b/src/lib/js/main.ts index 95fb263..0481cef 100644 --- a/src/lib/js/main.ts +++ b/src/lib/js/main.ts @@ -1,3 +1,3 @@ import $ from "jquery"; -$(document).ready($("html").removeClass("no-js")); +$(document).ready(() => $("html").removeClass("no-js"));