mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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
|
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
|
event_tracking.sendMB "autocompile-setting-changed", { value: 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