Spaces:
Paused
Paused
Savestate: Fix app crash on startup by removing top-level initImageEditor call
Browse files- index.html +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;">
|
|
|
|
| 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.184</div>
|
| 69 |
|
| 70 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 71 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
src/views/chat/chat-view.js
CHANGED
|
@@ -13,7 +13,7 @@ import { initImageEditor } from './image-editor.js';
|
|
| 13 |
window.youtubeSearchCache = window.youtubeSearchCache || {};
|
| 14 |
|
| 15 |
// Initialize image editor overlay
|
| 16 |
-
initImageEditor()
|
| 17 |
|
| 18 |
function formatImageGeneration(prompt) {
|
| 19 |
const encodedPrompt = encodeURIComponent(prompt.trim());
|
|
|
|
| 13 |
window.youtubeSearchCache = window.youtubeSearchCache || {};
|
| 14 |
|
| 15 |
// Initialize image editor overlay
|
| 16 |
+
// initImageEditor() is handled inside image-editor.js automatically on DOMContentLoaded
|
| 17 |
|
| 18 |
function formatImageGeneration(prompt) {
|
| 19 |
const encodedPrompt = encodeURIComponent(prompt.trim());
|