Skip to content

Commit 0153f53

Browse files
committed
Disable election optimization in some pages that cause bugs
1 parent 7bb698d commit 0153f53

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
2.5.2 - 未发布
44
修复小课表无法折叠和功能开关失效的问题
5+
修复从推荐课表选课时点击教师时会自动跳转的问题 (#24)
6+
修复在推荐课表页面会出现推荐课表的小课表的问题
57

68
2.5.1 - 2016/12/12
79
修复评教页面滑条失效的问题 (#17)

content_script/page/lesson.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ function optimize_elect()
104104
var black_list = [
105105
"/edu/student/elect/viewLessonTbl.aspx",
106106
"/edu/student/elect/electResultOuter.aspx",
107-
"/edu/student/elect/electwarning.aspx"
107+
"/edu/student/elect/electwarning.aspx",
108+
"/edu/student/elect/RecommandTblOuter.aspx",
109+
"/edu/student/elect/selectRecommandLesson.aspx"
108110
];
109111
if(inUrl(black_list)) {
110112
return 0;

0 commit comments

Comments
 (0)