Remove click handler on dismiss

This commit is contained in:
James Allen 2017-02-14 22:31:49 +01:00
parent b40b9add5a
commit bdee15128b

View file

@ -13,6 +13,8 @@ define [
$scope.dismiss = () ->
event_tracking.sendMB "shown-track-changes-onboarding"
$scope.$applyAsync(() -> $scope.showCollabFeaturesOnboarding = false)
$(document).off "keydown", handleKeydown
$(document).off "click", $scope.dismiss
$scope.gotoPrevStep = () ->
if $scope.onboarding.innerStep > 1