Skip to content

Commit

Permalink
update buttons path
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJiangWei committed Feb 22, 2021
1 parent e889ccd commit c2c66c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contents/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ window.addEventListener("load", f);

function f() {
const buttons = document.querySelector(
"#app > div.main > div > div.item-box > div.row.mb-3 > div:nth-child(2) > div > h3 > div > div.col-12.col-lg-12.mb-3 > div"
"#app > div.main > div > div.item-box > div.row.mb-3 > div:nth-child(2) > div > h3 > div > div:nth-child(1) > div"
);

const recipeModeButton = buttons.children[1];
const mapDropModeButton = buttons.children[2];

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "公主连结刷图计算器",
"version": "1.0.6",
"version": "1.0.7",
"description": "这个扩展为手机游戏“公主连结: Re Dive”的非官方Wiki网站提供了额外的功能,可以为你计算出游玩计划,以尽量地节省游戏资源(体力值)。",
"permissions": [
"declarativeContent",
Expand Down

0 comments on commit c2c66c9

Please sign in to comment.