mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added comment for background polling change
This commit is contained in:
parent
5050c8c023
commit
994b307e3f
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ define [
|
|||
doc: ide.fileTreeManager.findEntityById(doc_id)
|
||||
}
|
||||
|
||||
# for performance, only update the display if the old or new
|
||||
# statuses have any unsaved files
|
||||
if _.size(newStatus) or _.size(oldStatus)
|
||||
$scope.docSavingStatus = newStatus
|
||||
$scope.$apply()
|
||||
|
|
Loading…
Reference in a new issue