Просмотр исходного кода

Use sampled tracking in editor recompiles.

Paulo Reis 10 лет назад
Родитель
Сommit
dfe9e05abe

+ 2 - 4
services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

@@ -267,12 +267,10 @@ define [
 			return path
 
 		$scope.recompile = (options = {}) ->
-			# event_tracking.sendCountly "editor-recompile", options
-			
-			event_tracking.sendCountlySampled "editor-recompile", options
-
 			return if $scope.pdf.compiling
 
+			event_tracking.sendCountlySampled "editor-recompile", options
+
 			$scope.pdf.compiling = true
 
 			ide.$scope.$broadcast("flush-changes")