Explorar o código

Fix a broken if-else-if statement

Shane Kilkelly %!s(int64=8) %!d(string=hai) anos
pai
achega
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
 			)