From aec9c1c22222eef0d194d82d2222e02fb8b1f739 Mon Sep 17 00:00:00 2001 From: nobody Date: Tue, 19 Jul 2022 08:26:18 +0200 Subject: [PATCH] Statistics improved --- pages/statistics/statistics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/statistics/statistics.js b/pages/statistics/statistics.js index 8d552b0c..02003218 100644 --- a/pages/statistics/statistics.js +++ b/pages/statistics/statistics.js @@ -209,9 +209,9 @@ statistics._displayNameOfFramework = function (str, type) { filename = 'Google Charts'; } else if (str === 'resources/fontawesome/5.15.1/css/v4-shims.css') { filename = 'Font Awesome (Shim)'; - } else if (str === 'resources/bootstrap/fonts/') { + } else if (str === 'resources/twitter-bootstrap/fonts/') { filename = 'Bootstrap (Fonts)'; - } else { + } else if (str.length === 0) { console.warn(`[LocalCDN] Missing path: ${str}`); } }