Merge pull request #475 from glowing-bear/fix-bear-click

Fix clicking the bear on mobile
This commit is contained in:
David Cormier 2014-10-18 12:31:11 -04:00
commit 694e33d7b8

View file

@ -273,7 +273,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$rootScope.auto_display_embedded_content = $scope.noembed === false; $rootScope.auto_display_embedded_content = $scope.noembed === false;
$scope.isSidebarVisible = function() { $scope.isSidebarVisible = function() {
return document.getElementById('sidebar').getAttribute('sidebar-state') === 'visible'; return document.getElementById('content').getAttribute('sidebar-state') === 'visible';
}; };
$scope.showSidebar = function() { $scope.showSidebar = function() {