فهرست منبع

Fix a broken if-else-if statement

Shane Kilkelly 8 سال پیش
والد
کامیت
8be4279165
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      services/web/public/coffee/ide/history/controllers/HistoryV2DiffController.coffee

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