From 5f39780af364334eb035ff47d3750509e5444a74 Mon Sep 17 00:00:00 2001 From: Menci Date: Fri, 17 Feb 2017 12:43:03 +0800 Subject: [PATCH] Ctrl + A in judge detail to select all code --- views/judge_detail_item.ejs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/views/judge_detail_item.ejs b/views/judge_detail_item.ejs index 03059c8..0b6c414 100644 --- a/views/judge_detail_item.ejs +++ b/views/judge_detail_item.ejs @@ -39,7 +39,19 @@ <% if (judge.allowedSeeCode) { %> -
<%- judge.code %>
+
<%- judge.code %>
+ <% } %> <% if (judge.result.compiler_output && judge.result.status === 'Compile Error' && judge.allowedSeeCode) { %>

编译信息