From 941d6d09d57cf37ca59d059bd9ab5353771b8c43 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Wed, 30 Dec 2015 13:18:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E4=BB=A3=E7=A0=81=E5=9C=A8fi?= =?UTF-8?q?refox=E4=B8=AD=E6=98=BE=E7=A4=BA=E4=B8=8D=E4=BA=86=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/show.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/student_work/show.js.erb b/app/views/student_work/show.js.erb index 1a133a5d3..477f06e0f 100644 --- a/app/views/student_work/show.js.erb +++ b/app/views/student_work/show.js.erb @@ -25,7 +25,7 @@ else{ indentUnit: 2, matchBrackets: true, readOnly: true, - value: document.getElementById("work-src").innerText + value: $("#work-src").text() } );