mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add word count to per-user container
This commit is contained in:
parent
6526b29f96
commit
8b15d40f8b
1 changed files with 3 additions and 1 deletions
|
@ -4,12 +4,14 @@ define [
|
|||
App.controller 'WordCountModalController', ($scope, $modalInstance, ide, $http) ->
|
||||
$scope.status =
|
||||
loading:true
|
||||
|
||||
|
||||
perUserCompile = window.location?.search?.match(/isolated=true/)? or undefined
|
||||
opts =
|
||||
url:"/project/#{ide.project_id}/wordcount"
|
||||
method:"GET"
|
||||
params:
|
||||
clsiserverid:ide.clsiServerId
|
||||
isolated: perUserCompile
|
||||
$http opts
|
||||
.success (data) ->
|
||||
$scope.status.loading = false
|
||||
|
|
Loading…
Reference in a new issue