Commit
·
d34cc01
1
Parent(s):
845aee0
3. Okt. 2024, 08:27
Browse files- _res/_custom.js +0 -2
_res/_custom.js
CHANGED
@@ -156,7 +156,6 @@ function gradioCustomJS() {
|
|
156 |
resizeWindowToggleVar = 1
|
157 |
gradioContainer.classList.add("blur-container")
|
158 |
body.style.setProperty("--blur-value", "12px")
|
159 |
-
|
160 |
gradioApp.style.height = "calc(100vh - 120px)"
|
161 |
resolutionModalWrapper.style.setProperty("--opacity-value", "1")
|
162 |
alertModalElemSpan.textContent = "Diese Seite ist nicht für mobile Geräte optimiert. Bitte besuche diese Seite von einem Desktop-Computer aus."
|
@@ -176,7 +175,6 @@ function gradioCustomJS() {
|
|
176 |
body.style.setProperty("--blur-value", "0px")
|
177 |
gradioApp.style.height = ""
|
178 |
resolutionModalWrapper.style.setProperty("--opacity-value", "0")
|
179 |
-
resize_eventListener("remove")
|
180 |
if (resizeWindowToggleVar == 1) {
|
181 |
setTimeout(() => ((resolutionModalWrapper.style.display = "none"), (resizeWindowToggleVar = 0)), 800)
|
182 |
}
|
|
|
156 |
resizeWindowToggleVar = 1
|
157 |
gradioContainer.classList.add("blur-container")
|
158 |
body.style.setProperty("--blur-value", "12px")
|
|
|
159 |
gradioApp.style.height = "calc(100vh - 120px)"
|
160 |
resolutionModalWrapper.style.setProperty("--opacity-value", "1")
|
161 |
alertModalElemSpan.textContent = "Diese Seite ist nicht für mobile Geräte optimiert. Bitte besuche diese Seite von einem Desktop-Computer aus."
|
|
|
175 |
body.style.setProperty("--blur-value", "0px")
|
176 |
gradioApp.style.height = ""
|
177 |
resolutionModalWrapper.style.setProperty("--opacity-value", "0")
|
|
|
178 |
if (resizeWindowToggleVar == 1) {
|
179 |
setTimeout(() => ((resolutionModalWrapper.style.display = "none"), (resizeWindowToggleVar = 0)), 800)
|
180 |
}
|