remove unnecessary use of jQuery
This commit is contained in:
parent
bb44a87560
commit
f70f399741
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
// If we are on mobile we need to collapse the menu on sidebar clicks
|
||||
// We use 968 px as the cutoff, which should match the value in glowingbear.css
|
||||
if (document.body.clientWidth < 968) {
|
||||
$('#sidebar').collapse();
|
||||
document.querySelector('#sidebar').collapse();
|
||||
}
|
||||
return models.setActiveBuffer(bufferId, key);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue