diff --git a/commons/DOM/sidebar.php b/commons/DOM/sidebar.php index b560299..66c1fcb 100644 --- a/commons/DOM/sidebar.php +++ b/commons/DOM/sidebar.php @@ -35,15 +35,11 @@ function printSidebarEntry($url, $title, $icon, $activeId) { ?>
-h/--short-help
.",
+ "improvements.3": "Added the -H/--short-help
.",
"improvements.4": "Added support for Windows ARM & ARM64.",
"improvements.5": "Support for running without a console.",
"usage.title": "Usage",
@@ -53,7 +53,7 @@
"improvements.title": "Améliorations",
"improvements.1": "Changement de PureBasic vers .NET 6.0.",
"improvements.2": "Amélioration de la logique interne du programme.",
- "improvements.3": "Ajout de l'option -h/--short-help
.",
+ "improvements.3": "Ajout de l'option -H/--short-help
.",
"improvements.4": "Support pour Windows ARM et ARM64.",
"improvements.5": "Support pour le lancement sans invité de commande.",
"usage.title": "Utilisation",
@@ -85,7 +85,7 @@
"description": "meta.description",
"type": null,
"url": null,
- "image": null,
+ "image": "/resources/NibblePoker/images/content/lscom/lscom-v2-text-01-bkgd-cli.png",
"image_type": null
},
"article": {
diff --git a/content/items/lscom-cli.json b/content/items/lscom-cli.json
index bfda60e..b839c6b 100644
--- a/content/items/lscom-cli.json
+++ b/content/items/lscom-cli.json
@@ -36,7 +36,7 @@
"description": "meta.description",
"type": null,
"url": null,
- "image": null,
+ "image": "/resources/NibblePoker/images/content/lscom/lscom-legacy-simple.png",
"image_type": null
},
"article": {
diff --git a/content/items/mc-expanded-iron-bundles.json b/content/items/mc-expanded-iron-bundles.json
index 09a5db3..8175dc5 100644
--- a/content/items/mc-expanded-iron-bundles.json
+++ b/content/items/mc-expanded-iron-bundles.json
@@ -62,7 +62,7 @@
"description": "meta.description",
"type": null,
"url": null,
- "image": null,
+ "image": "/resources/NibblePoker/images/content/mc-expanded-iron-bundles/item-icon.png",
"image_type": null
},
"article": {
diff --git a/content/items/youtube-auto-archiver.json b/content/items/youtube-auto-archiver.json
index ba25c0d..2822186 100644
--- a/content/items/youtube-auto-archiver.json
+++ b/content/items/youtube-auto-archiver.json
@@ -66,7 +66,7 @@
"description": "meta.description",
"type": null,
"url": null,
- "image": null,
+ "image": "/resources/NibblePoker/images/content/yaa/icon-final.png",
"image_type": null
},
"article": {
diff --git a/resources/NibblePoker/js/nibblepoker-code.js b/resources/NibblePoker/js/nibblepoker-code.js
index 1490843..2b2bbfe 100644
--- a/resources/NibblePoker/js/nibblepoker-code.js
+++ b/resources/NibblePoker/js/nibblepoker-code.js
@@ -42,7 +42,24 @@ document.addEventListener("DOMContentLoaded", () => {
});
eCodeCopyButton.onclick = function() {
+ const eCodeCopySpans = eCodeCopyButton.querySelectorAll("span");
+
navigator.clipboard.writeText(code);
+
+ if(eCodeCopySpans.length < 2) {
+ return;
+ }
+
+ const eSpanCopy = eCodeCopySpans[0];
+ const eSpanCopied = eCodeCopySpans[1];
+
+ eSpanCopy.hidden = true;
+ eSpanCopied.hidden = false;
+
+ fadeOut(eSpanCopied, 600).then(r => {
+ eSpanCopy.hidden = false;
+ eSpanCopied.hidden = true;
+ });
};
eCodeCopyButton.hidden = false;
diff --git a/resources/NibblePoker/js/nibblepoker-contributors.js b/resources/NibblePoker/js/nibblepoker-contributors.js
index ac6089e..baa5df0 100644
--- a/resources/NibblePoker/js/nibblepoker-contributors.js
+++ b/resources/NibblePoker/js/nibblepoker-contributors.js
@@ -45,6 +45,7 @@
audioPurr.volume = 0.075;
try {
audioPurr.load();
+ audioPurr.loop = true;
audioPurr.play();
} catch(DOMException) {
}
diff --git a/resources/NibblePoker/js/nibblepoker-splide.js b/resources/NibblePoker/js/nibblepoker-splide.js
index 494d7af..d0710a7 100644
--- a/resources/NibblePoker/js/nibblepoker-splide.js
+++ b/resources/NibblePoker/js/nibblepoker-splide.js
@@ -14,6 +14,5 @@ window.addEventListener('load', function() {
}).mount();
} catch(err) {
console.log("Unable to setup Splide !");
- console.log(err);
}
});