Disable swiping on desktop

l-merge-prefix
Lorenz Hübschle-Schneider 12 years ago
parent 5938bbb436
commit 17cc3c9088
  1. 2
      js/glowingbear.js

@ -671,7 +671,9 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
// Open and close panels while on mobile devices through swiping
$scope.swipeSidebar = function() {
if (document.body.clientWidth < mobile_cutoff) {
$scope.showSidebar = !$scope.showSidebar;
}
};
$scope.openNick = function() {

Loading…
Cancel
Save