Skip to content

Commit b23ee42

Browse files
committed
Merge pull request #396 from SammysHP/fix-394
Fix #394: ContentSeparator lost after hiding statusbar
2 parents d9177a7 + 86884d1 commit b23ee42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/content/statusline.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,14 @@ const StatusLine = Module("statusline", {
148148
var toggle_off = function () {
149149
bb.style.height = '0px';
150150
bb.style.overflow = 'hidden';
151+
sv.contentSeparator = highlight.get('ContentSeparator').value;
151152
highlight.set('ContentSeparator', 'display: none;');
152153
};
153154

154155
var toggle_on = function () {
155156
bb.style.height = '';
156157
bb.style.overflow = '';
157-
highlight.set('ContentSeparator', sv.contentSeparatorValue);
158+
highlight.set('ContentSeparator', sv.contentSeparator);
158159
};
159160

160161
switch (request) {

0 commit comments

Comments
 (0)