diff --git a/services/web/public/coffee/ide/history/controllers/HistoryV2DiffController.coffee b/services/web/public/coffee/ide/history/controllers/HistoryV2DiffController.coffee index a547f42f94..826d3381f1 100644 --- a/services/web/public/coffee/ide/history/controllers/HistoryV2DiffController.coffee +++ b/services/web/public/coffee/ide/history/controllers/HistoryV2DiffController.coffee @@ -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 )