Skip to content

Commit

Permalink
修复直接完成按钮消失的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed Dec 17, 2020
1 parent 86679c8 commit ad68d01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js(origin)/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function scheck(settings,callback,o=0)
getnews();
v9();
}
if(!comv(sv,[1,1,0])||(comv(sv,[1,1,0])==1&&comv(sv,[1,1,5]==-1)))equalnow();
if(!comv(sv,[1,1,0])||(comv(sv,[1,1,0])==1&&comv(sv,[1,1,6]==-1)))equalnow();
}
}
if(need)
Expand Down
4 changes: 2 additions & 2 deletions js(origin)/videofuck.js
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ function fuck()
console.log(data);
var have=false;
var have2=false;
if(at.isPassed==undefined)
if(at.isPassed == undefined || !at.isPassed)
{
have=true;
(function(a,b,c){dcompleteb.addEventListener('click',function(){dcomplete(a,b,c)})})(data,at,rt);
Expand Down Expand Up @@ -970,7 +970,7 @@ function fuck()
{
console.log(data);
var have2=false;
if(at.isPassed==undefined)
if(at.isPassed == undefined || !at.isPassed)
{
(function(a,b,c){dcompleteb.addEventListener('click',function(){dcomplete(a,b,c)})})(data,at,rt);
div2.append(dcompleteb);
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version":2,
"name":"超星学习通辅助插件",
"version":"1.1.4",
"version":"1.1.5",
"description":"你懂的(同时支持智慧树),源代码:https://github.com/lifegpc/fuckchaoxing",
"author":"lifegpc",
"permissions":["https://*.chaoxing.com/","http://*.chaoxing.com/","http://*.5read.com/","storage","tabs","https://*.zhihuishu.com/","http://*.zhihuishu.com/","https://*.edu.cn/","http://*.edu.cn/","notifications"],
Expand Down

0 comments on commit ad68d01

Please sign in to comment.