Skip to content

Commit

Permalink
Disable election optimization in some pages that cause bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ComMouse committed Dec 13, 2016
1 parent 7bb698d commit 0153f53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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

2.5.1 - 2016/12/12
修复评教页面滑条失效的问题 (#17)
Expand Down
4 changes: 3 additions & 1 deletion content_script/page/lesson.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0153f53

Please sign in to comment.