From d409f0e9b45e6c8008aae46699178cc2bd166d95 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Wed, 14 Feb 2024 20:35:13 -0600 Subject: [PATCH] Fix toggle --- resources/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/common.js b/resources/common.js index fa7e4d6..d0e441e 100644 --- a/resources/common.js +++ b/resources/common.js @@ -44,11 +44,11 @@ function register_toggle(link) { }); } -$(function register_all_toggles() { +function register_all_toggles() { $('.toggle').each(function () { register_toggle($(this)); }); -}); +}; function featureTest(property, value, noPrefixes) { var prop = property + ':',