Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Sep 17, 2019
2 parents 9bf76ed + e0e32a5 commit 3229a6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
1 change: 1 addition & 0 deletions docs/4-Reward/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ title: 捐赠
|金额|渠道|捐赠者|备注|
|----|----|----|----|
|¥ 10.00|QQ红包|傻的可爱-||
|¥ 50.00|QQ红包|陈哲.IT||
|¥ 20.00|QQ红包|||
|¥ 10.00|QQ红包|幻蓝|打赏了一个鸡腿|
Expand Down
15 changes: 2 additions & 13 deletions src/cxmooc-tools/chaoxing/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,8 @@ module.exports = function () {
}

function initCdn() {
let cdn = undefined;
if (config.video_cdn != undefined || config.video_cdn != '默认') {
cdn = $(self.document).find("[title='Playline']+.vjs-menu .vjs-menu-content .vjs-menu-item .vjs-menu-item-text:contains('" +
config.video_cdn + "')");
} else if (localStorage['cdn'] != undefined) {
cdn = $(self.document).find("[title='Playline']+.vjs-menu .vjs-menu-content .vjs-menu-item .vjs-menu-item-text:contains('" +
localStorage['cdn'] + "')");
}
if (cdn == undefined || cdn.length <= 0) {
cdn = $(self.document).find("[title='Playline']+.vjs-menu .vjs-menu-content .vjs-menu-item .vjs-menu-item-text");
}
cdn = cdn[0];
$(cdn).parent().click();
let cdn = config.video_cdn || localStorage['cdn'];
$('.vjs-playline-button .vjs-menu-item-text:contains(' + cdn + '):eq(0)', self.document).parent().click();
}

/**
Expand Down

0 comments on commit 3229a6c

Please sign in to comment.