DataTables: Use minified CSS files (#1094)

This commit is contained in:
nobody 2022-07-30 06:14:53 +02:00
parent f1cc7736d7
commit 31e426c77e
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 3 additions and 1 deletions

View File

@ -271,6 +271,8 @@ requestAnalyzer._handleMathJax = function (filename, channelPath, channelHost, i
requestAnalyzer._handleDataTables = function (filename) {
if (!filename.endsWith('.min.js') && filename.endsWith('.js')) {
return filename.replace('.js', '.min.js');
} else if (!filename.endsWith('.min.css') && filename.endsWith('.css')) {
return filename.replace('.css', '.min.css');
}
return filename;
};

View File

@ -53,7 +53,7 @@
</ul>
<p>Mapping</p>
<ul>
<li>DataTables: Use minified JS files (<a href="https://codeberg.org/nobody/LocalCDN/issues/1094">#1094</a>)</li>
<li>DataTables: Use minified JS & CSS files (<a href="https://codeberg.org/nobody/LocalCDN/issues/1094">#1094</a>)</li>
</ul>
</div>
<div id="generator-section">