Remove debug logging

This commit is contained in:
Lorenz Hübschle-Schneider 2014-03-08 17:07:54 +00:00
parent e9ca3ff5be
commit 14575f3547

View file

@ -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