From 549d2cd12615c425ee962ce93fbe8b21094f1b0f Mon Sep 17 00:00:00 2001 From: Samuel Teuber Date: Wed, 28 Dec 2022 00:33:04 +0100 Subject: [PATCH] fix(style): table class name in fixHugoOutput (#2897) addClass must be called with class name only instead of '.table' as class name --- modules/wowchemy/assets/js/wowchemy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wowchemy/assets/js/wowchemy.js b/modules/wowchemy/assets/js/wowchemy.js index 673709b9..ac3d5b6c 100644 --- a/modules/wowchemy/assets/js/wowchemy.js +++ b/modules/wowchemy/assets/js/wowchemy.js @@ -83,7 +83,7 @@ function fixHugoOutput() { $("input[type='checkbox'][disabled]").parents('ul').addClass('task-list'); // Bootstrap table style is opt-in and Goldmark doesn't add it. - $('table').addClass('.table'); + $('table').addClass('table'); } // Get an element's siblings.