diff --git a/assets/scripts/app/models/job.coffee b/assets/scripts/app/models/job.coffee index d7fff3dd..58c5d271 100644 --- a/assets/scripts/app/models/job.coffee +++ b/assets/scripts/app/models/job.coffee @@ -93,7 +93,7 @@ require 'travis/model' return if @get('subscribed') @set('subscribed', true) if Travis.pusher - Travis.pusher.subscribe "job-#{@get('id')}", + Travis.pusher.subscribe "job-#{@get('id')}" unsubscribe: -> return unless @get('subscribed')