mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +08:00
Add hound linter suggestion
This commit is contained in:
parent
0bdbe84d4d
commit
0c1f47eada
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ window.addEventListener('DOMContentLoaded', () => {
|
|||
methods: {
|
||||
toggleNavigatorState: function(newNavigatorState) {
|
||||
let stateUrl = $('#sciNavigationNavigatorContainer').attr('data-navigator-state-url');
|
||||
$.post(stateUrl, {state: newNavigatorState ? 'collapsed' : 'open'});
|
||||
$.post(stateUrl, { state: newNavigatorState ? 'collapsed' : 'open' });
|
||||
$('.sci--layout').attr('data-navigator-collapsed', newNavigatorState);
|
||||
$('body').toggleClass('navigator-collapsed', newNavigatorState);
|
||||
|
||||
|
|
Loading…
Reference in a new issue