From 0153f5399e745956c23f3dd0126252c8f9d91803 Mon Sep 17 00:00:00 2001 From: ComMouse Date: Wed, 14 Dec 2016 00:36:03 +0800 Subject: [PATCH] Disable election optimization in some pages that cause bugs --- CHANGELOG | 2 ++ content_script/page/lesson.js | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 106e630..4c34144 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,8 @@ 2.5.2 - 未发布 修复小课表无法折叠和功能开关失效的问题 + 修复从推荐课表选课时点击教师时会自动跳转的问题 (#24) + 修复在推荐课表页面会出现推荐课表的小课表的问题 2.5.1 - 2016/12/12 修复评教页面滑条失效的问题 (#17) diff --git a/content_script/page/lesson.js b/content_script/page/lesson.js index 7b7efad..f2244b7 100644 --- a/content_script/page/lesson.js +++ b/content_script/page/lesson.js @@ -104,7 +104,9 @@ function optimize_elect() var black_list = [ "/edu/student/elect/viewLessonTbl.aspx", "/edu/student/elect/electResultOuter.aspx", - "/edu/student/elect/electwarning.aspx" + "/edu/student/elect/electwarning.aspx", + "/edu/student/elect/RecommandTblOuter.aspx", + "/edu/student/elect/selectRecommandLesson.aspx" ]; if(inUrl(black_list)) { return 0;