mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 04:41:32 +02:00
Track autocompile setting change
This commit is contained in:
@@ -91,6 +91,7 @@ define [
|
||||
if newValue? and oldValue != newValue
|
||||
localStorage("autocompile_enabled:#{$scope.project_id}", newValue)
|
||||
toggleAutoCompile(newValue)
|
||||
event_tracking.sendMB "autocompile-setting-changed", newValue
|
||||
|
||||
if window.user?.betaProgram and $scope.autocompile_enabled
|
||||
toggleAutoCompile(true)
|
||||
|
||||
Reference in New Issue
Block a user