mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Don't switch back to editor view when selecting a file in the history view
This commit is contained in:
parent
05cd6e69a7
commit
193766b437
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ define [
|
||||||
}
|
}
|
||||||
|
|
||||||
@$scope.$on "entity:selected", (event, entity) =>
|
@$scope.$on "entity:selected", (event, entity) =>
|
||||||
if (@$scope.ui.view != "track-changes" and entity.type == "doc")
|
if (@$scope.ui.view != "history" and entity.type == "doc")
|
||||||
@openDoc(entity)
|
@openDoc(entity)
|
||||||
|
|
||||||
@$scope.$on "entity:deleted", (event, entity) =>
|
@$scope.$on "entity:deleted", (event, entity) =>
|
||||||
|
|
Loading…
Reference in a new issue