mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use sampled tracking in editor recompiles.
This commit is contained in:
parent
07cce99c17
commit
dfe9e05abe
1 changed files with 2 additions and 4 deletions
|
@ -267,12 +267,10 @@ define [
|
||||||
return path
|
return path
|
||||||
|
|
||||||
$scope.recompile = (options = {}) ->
|
$scope.recompile = (options = {}) ->
|
||||||
# event_tracking.sendCountly "editor-recompile", options
|
return if $scope.pdf.compiling
|
||||||
|
|
||||||
event_tracking.sendCountlySampled "editor-recompile", options
|
event_tracking.sendCountlySampled "editor-recompile", options
|
||||||
|
|
||||||
return if $scope.pdf.compiling
|
|
||||||
|
|
||||||
$scope.pdf.compiling = true
|
$scope.pdf.compiling = true
|
||||||
|
|
||||||
ide.$scope.$broadcast("flush-changes")
|
ide.$scope.$broadcast("flush-changes")
|
||||||
|
|
Loading…
Reference in a new issue