Skip to content

Commit

Permalink
fix(zendesk): Fix title selector
Browse files Browse the repository at this point in the history
closes #1689
  • Loading branch information
LulzAugusto authored and lise-toggl committed Mar 18, 2020
1 parent 42fd6d6 commit a755af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/content/zendesk.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ togglbutton.render('.pane_header:not(.toggl)', { observe: true }, function (
const projectName = $('title').textContent;

const titleFunc = function () {
const titleElem = $('.selected .tab_text .title');
const titleElem = $('[data-test-id="header-tab-title"]');
const ticketNum = location.href.match(/tickets\/(\d+)/);

if (titleElem !== null) {
Expand Down

0 comments on commit a755af6

Please sign in to comment.