enh: save chat controls width
This commit is contained in:
1 parent
692f04d457
commit
98928f6bd7
2 files changed
+8
-2
No files matched your search
@@ -115,7 +115,9 @@
|
||||
|
||||
if (controlPane) {
|
||||
if ($showControls) {
|
||||
controlPane.resize(localStorage.getItem('chat-controls-size') || 40);
|
||||
controlPane.resize(
|
||||
Math.max(parseInt(localStorage.getItem('chat-controls-size') || '35'), 35)
|
||||
);
|
||||
} else {
|
||||
controlPane.resize(0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user