Skip to content

Commit

Permalink
add extra parentNode (#2355)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyxmas authored Jan 7, 2025
1 parent 7ecc77a commit ad3d4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/shortcut.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ togglbutton.render('#story-dialog-state-dropdown:not(.toggl)', { observe: true }
) {
const wrap = createTag('div');
const element = elem;
elem = elem.parentNode.parentNode.parentNode;
elem = elem.parentNode.parentNode.parentNode.parentNode;

const getDescription = function () {
const storyId = $('.story-id input', elem).value;
Expand Down

0 comments on commit ad3d4ea

Please sign in to comment.