mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Track autocompile setting change
This commit is contained in:
parent
11386eb817
commit
a8cdfb7ecc
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ define [
|
||||||
if newValue? and oldValue != newValue
|
if newValue? and oldValue != newValue
|
||||||
localStorage("autocompile_enabled:#{$scope.project_id}", newValue)
|
localStorage("autocompile_enabled:#{$scope.project_id}", newValue)
|
||||||
toggleAutoCompile(newValue)
|
toggleAutoCompile(newValue)
|
||||||
|
event_tracking.sendMB "autocompile-setting-changed", newValue
|
||||||
|
|
||||||
if window.user?.betaProgram and $scope.autocompile_enabled
|
if window.user?.betaProgram and $scope.autocompile_enabled
|
||||||
toggleAutoCompile(true)
|
toggleAutoCompile(true)
|
||||||
|
|
Loading…
Reference in a new issue