Merge pull request #226 from lorenzhs/removelog

Remove debug logging
This commit is contained in:
David Cormier 2014-03-08 17:43:38 -05:00
commit 9094d60772

View file

@ -572,7 +572,6 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
}; };
if (typeof $scope.documentVisibilityChange !== "undefined") { if (typeof $scope.documentVisibilityChange !== "undefined") {
console.log('adding event listener for', $scope.documentVisibilityChange);
document.addEventListener($scope.documentVisibilityChange, function() { document.addEventListener($scope.documentVisibilityChange, function() {
if (!document[$scope.documentHidden]) { if (!document[$scope.documentHidden]) {
// We just switched back to the glowing-bear window and unread messages may have // We just switched back to the glowing-bear window and unread messages may have