commit
9094d60772
1 changed files with 0 additions and 1 deletions
|
@ -572,7 +572,6 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
};
|
||||
|
||||
if (typeof $scope.documentVisibilityChange !== "undefined") {
|
||||
console.log('adding event listener for', $scope.documentVisibilityChange);
|
||||
document.addEventListener($scope.documentVisibilityChange, function() {
|
||||
if (!document[$scope.documentHidden]) {
|
||||
// We just switched back to the glowing-bear window and unread messages may have
|
||||
|
|
Loading…
Reference in a new issue