Procházet zdrojové kódy

Fix a broken if-else-if statement

Shane Kilkelly před 8 roky
rodič
revize
8be4279165

+ 1 - 1
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
 			)