Wrong version selection of AngularUI Bootstrap fixed (#50)

This commit is contained in:
nobody 2020-07-06 06:33:33 +02:00
parent c1222eaf4b
commit 965b0a9ab3
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 3 additions and 2 deletions

View File

@ -304,7 +304,7 @@ helpers.setLastVersion = function (type, version) {
return '5.1.0'; return '5.1.0';
} else if (type.includes('/angular-ui-bootstrap/')) { } else if (type.includes('/angular-ui-bootstrap/')) {
if (helpers.compareVersion('0.10.0', requestVersion)) return '0.10.0'; // <= v0.10.0 if (helpers.compareVersion('0.10.0', requestVersion)) return '0.10.0'; // <= v0.10.0
else if (helpers.compareVersion('0.14.0', requestVersion)) return '0.14.0'; // > 0.10.0 <= v0.14.0 else if (helpers.compareVersion('0.14.3', requestVersion)) return '0.14.3'; // > 0.10.0 <= v0.14.3
return '1.3.3'; // > v0.14.0 return '1.3.3'; // > v0.14.0
} else if (type.includes('/angular-ui-router/')) { } else if (type.includes('/angular-ui-router/')) {
if (helpers.compareVersion('0.4.3', requestVersion)) return '0.4.3'; // <= 0.4.3 if (helpers.compareVersion('0.4.3', requestVersion)) return '0.4.3'; // <= 0.4.3

View File

@ -25,7 +25,8 @@
</div> </div>
<ul> <ul>
<li>URLs updated (localcdn.de -> localcdn.org)</li> <li>URLs updated (localcdn.de -> localcdn.org)</li>
<li>Fixed: Popup scrollbar of dark mode </li> <li>Fixed: Popup scrollbar of dark mode (reported by email)</li>
<li>Fixed: Wrong version selection of AngularUI Bootstrap (<a href="https://codeberg.org/nobody/LocalCDN/issues/50">#50</a>)</li>
</ul> </ul>
<div class="topic-label"> <div class="topic-label">
Generate rule sets for uBlock or uMatrix Generate rule sets for uBlock or uMatrix