Skip to content

Commit

Permalink
fix(shortcut): update selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
izontm committed Apr 11, 2024
1 parent a448a2c commit b1058a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/shortcut.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

togglbutton.render('.story-state:not(.toggl)', { observe: true }, function (
togglbutton.render('#story-dialog-state-dropdown:not(.toggl)', { observe: true }, function (
elem
) {
const wrap = createTag('div');
Expand All @@ -15,7 +15,7 @@ togglbutton.render('.story-state:not(.toggl)', { observe: true }, function (
};

const getProject = function () {
return $('.story-project .value', elem)?.textContent;
return $('.story-epic .value', elem)?.textContent;
};

const link = togglbutton.createTimerLink({
Expand Down

0 comments on commit b1058a6

Please sign in to comment.