halbot 1995.1.48 → 1995.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/turn.html +6 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "halbot",
|
|
3
3
|
"description": "Just another AI powered Telegram bot, which is simple design, easy to use, extendable and fun.",
|
|
4
|
-
"version": "1995.1.
|
|
4
|
+
"version": "1995.1.49",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/halbot",
|
|
7
7
|
"type": "module",
|
package/web/turn.html
CHANGED
|
@@ -478,6 +478,12 @@
|
|
|
478
478
|
</footer>
|
|
479
479
|
|
|
480
480
|
<script>
|
|
481
|
+
// Register custom languages to suppress warnings
|
|
482
|
+
if (window.hljs) {
|
|
483
|
+
hljs.registerLanguage('think', () => ({ contains: [] }));
|
|
484
|
+
hljs.registerLanguage('tools', () => ({ contains: [] }));
|
|
485
|
+
}
|
|
486
|
+
|
|
481
487
|
// Injected Data
|
|
482
488
|
const chatData = '{{data}}';
|
|
483
489
|
|
|
@@ -745,7 +751,6 @@
|
|
|
745
751
|
|
|
746
752
|
window.addEventListener('resize', () => {
|
|
747
753
|
resize();
|
|
748
|
-
initBlobs();
|
|
749
754
|
});
|
|
750
755
|
|
|
751
756
|
resize();
|