Fixed: Undefined version number in popup
This commit is contained in:
parent
612a46ec30
commit
8f73ed4bf8
|
@ -388,6 +388,9 @@ popup._createInjectionElement = function (injection) {
|
|||
let versionNode = '';
|
||||
|
||||
if (injection.versionRequested === injection.versionDelivered) {
|
||||
if (injection.versionRequested === undefined || injection.versionDelivered === undefined) {
|
||||
versionNode = '';
|
||||
} else if (injection.versionRequested === injection.versionDelivered) {
|
||||
versionNode = ` v${injection.versionRequested}`;
|
||||
} else if (injection.versionRequested === 'beta') {
|
||||
versionNode = ` ${injection.versionRequested}`;
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li>Added: jScrollPane v2.2.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/73">#73</a>)</li>
|
||||
<li>Added: Tooltipster v3.3.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/73">#73</a>)</li>
|
||||
<li>Added: Materialize (JS & CSS) v0.97.8</li>
|
||||
<li>Fixed: Undefined version number in the popup</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
Loading…
Reference in New Issue