Commit 8d98ee94 authored by Randall Leeds's avatar Randall Leeds

remove dead code

parent 9184fade
......@@ -294,11 +294,11 @@ class Viewer
refresh = =>
this.refresh $scope, $routeParams, threading, plugins.Heatmap
if listening
if $scope.detail or $routeParams.bucket?
if $scope.detail
plugins.Heatmap.unsubscribe 'updated', refresh
listening = false
else
unless $scope.detail or $routeParams.bucket?
unless $scope.detail
plugins.Heatmap.subscribe 'updated', refresh
listening = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment