UI: Remove sidebar fluctuation on switching the toggle button

Fixes #301
This commit is contained in:
akashnimare
2017-09-21 00:48:08 +05:30
parent 58bbd7bf30
commit ad5bef821e
3 changed files with 27 additions and 9 deletions

View File

@@ -260,9 +260,9 @@ class ServerManagerView {
toggleSidebar(show) {
if (show) {
this.$sidebar.classList.remove('hidden');
this.$sidebar.classList.remove('sidebar-hide');
} else {
this.$sidebar.classList.add('hidden');
this.$sidebar.classList.add('sidebar-hide');
}
}