From f70f399741139698429ce145238558ff549e6945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Mon, 10 Feb 2014 21:16:35 +0000 Subject: [PATCH] remove unnecessary use of jQuery --- js/glowingbear.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/glowingbear.js b/js/glowingbear.js index de38017..1682cd0 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -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); };