mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 13:03:23 +00:00
Fix a broken if-else-if statement
This commit is contained in:
parent
f5f253ad01
commit
8be4279165
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ define [
|
|||
(entity) ->
|
||||
if type == 'doc'
|
||||
ide.editorManager.openDoc(entity)
|
||||
else type == 'file'
|
||||
else if type == 'file'
|
||||
ide.binaryFilesManager.openFile(entity)
|
||||
3000
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue