Merge pull request #475 from glowing-bear/fix-bear-click
Fix clicking the bear on mobile
This commit is contained in:
commit
694e33d7b8
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue