mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #6 from sharelatex/as-fix-autocompile-setting
Send JSON in autocompile setting event payload
This commit is contained in:
commit
e2547e0051
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ define [
|
|||
if newValue? and oldValue != newValue
|
||||
localStorage("autocompile_enabled:#{$scope.project_id}", newValue)
|
||||
toggleAutoCompile(newValue)
|
||||
event_tracking.sendMB "autocompile-setting-changed", newValue
|
||||
event_tracking.sendMB "autocompile-setting-changed", { value: newValue }
|
||||
|
||||
if window.user?.betaProgram and $scope.autocompile_enabled
|
||||
toggleAutoCompile(true)
|
||||
|
|
Loading…
Reference in a new issue