Spaces:
Paused
Paused
Savestate: Fix TypeError chatMessages is undefined which caused deep research visual breakdown, and bump cache version
Browse files- index.html +2 -2
- src/app.js +1 -1
- src/views/chat/chat-view.js +1 -1
index.html
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
</head>
|
| 66 |
<body class="dark-theme in-chat-view" data-bg-style="fluid-dark">
|
| 67 |
|
| 68 |
-
<div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.
|
| 69 |
|
| 70 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 71 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
|
@@ -86,7 +86,7 @@
|
|
| 86 |
<div id="app"></div>
|
| 87 |
|
| 88 |
<!-- Entry Script -->
|
| 89 |
-
<script type="module" src="/src/app.js?v=
|
| 90 |
|
| 91 |
<!-- Article View Modal -->
|
| 92 |
<div id="article-view-modal" class="liquid-glass-heavy" style="display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000; background: var(--bg-color); overflow-y: auto; overflow-x: hidden;">
|
|
|
|
| 65 |
</head>
|
| 66 |
<body class="dark-theme in-chat-view" data-bg-style="fluid-dark">
|
| 67 |
|
| 68 |
+
<div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.171</div>
|
| 69 |
|
| 70 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 71 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
|
|
|
| 86 |
<div id="app"></div>
|
| 87 |
|
| 88 |
<!-- Entry Script -->
|
| 89 |
+
<script type="module" src="/src/app.js?v=1076"></script>
|
| 90 |
|
| 91 |
<!-- Article View Modal -->
|
| 92 |
<div id="article-view-modal" class="liquid-glass-heavy" style="display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000; background: var(--bg-color); overflow-y: auto; overflow-x: hidden;">
|
src/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
import { ChatView } from './views/chat/chat-view.js?v=
|
| 2 |
import { db } from './db/database.js';
|
| 3 |
import { Clipboard } from '@capacitor/clipboard';
|
| 4 |
import { authService } from './services/auth-service.js';
|
|
|
|
| 1 |
+
import { ChatView } from './views/chat/chat-view.js?v=13';
|
| 2 |
import { db } from './db/database.js';
|
| 3 |
import { Clipboard } from '@capacitor/clipboard';
|
| 4 |
import { authService } from './services/auth-service.js';
|
src/views/chat/chat-view.js
CHANGED
|
@@ -4847,7 +4847,7 @@ body { margin: 0; padding: 0; background: #000; overflow: hidden; display: flex;
|
|
| 4847 |
</div>
|
| 4848 |
`;
|
| 4849 |
btnMsg.querySelector('button').onclick = () => board.classList.add('visible');
|
| 4850 |
-
|
| 4851 |
this.scrollToBottom();
|
| 4852 |
}
|
| 4853 |
} else {
|
|
|
|
| 4847 |
</div>
|
| 4848 |
`;
|
| 4849 |
btnMsg.querySelector('button').onclick = () => board.classList.add('visible');
|
| 4850 |
+
document.getElementById('chat-messages').appendChild(btnMsg);
|
| 4851 |
this.scrollToBottom();
|
| 4852 |
}
|
| 4853 |
} else {
|