This commit is contained in:
Timothy J. Baek
2024-09-21 04:36:18 +02:00
parent cb81dfe4ba
commit d3ef9d980b
2 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -289,7 +289,11 @@
if (controlPane && !$mobile) {
try {
if (value) {
controlPane.resize(parseInt(localStorage.getItem('chat-controls-size') || '35'));
controlPane.resize(
parseInt(localStorage.getItem('chat-controls-size') || '35')
? parseInt(localStorage.getItem('chat-controls-size') || '35')
: 35
);
} else {
controlPane.resize(0);
}