DataTables: Use minified CSS files (#1094)
This commit is contained in:
parent
f1cc7736d7
commit
31e426c77e
|
@ -271,6 +271,8 @@ requestAnalyzer._handleMathJax = function (filename, channelPath, channelHost, i
|
||||||
requestAnalyzer._handleDataTables = function (filename) {
|
requestAnalyzer._handleDataTables = function (filename) {
|
||||||
if (!filename.endsWith('.min.js') && filename.endsWith('.js')) {
|
if (!filename.endsWith('.min.js') && filename.endsWith('.js')) {
|
||||||
return filename.replace('.js', '.min.js');
|
return filename.replace('.js', '.min.js');
|
||||||
|
} else if (!filename.endsWith('.min.css') && filename.endsWith('.css')) {
|
||||||
|
return filename.replace('.css', '.min.css');
|
||||||
}
|
}
|
||||||
return filename;
|
return filename;
|
||||||
};
|
};
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
<p>Mapping</p>
|
<p>Mapping</p>
|
||||||
<ul>
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
|
|
Loading…
Reference in New Issue