Skip to content

Commit

Permalink
feat(hubspot): Update origins.js
Browse files Browse the repository at this point in the history
  • Loading branch information
with-shrey committed May 28, 2024
1 parent 82306be commit 5004ccb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/content/hubspot.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @name Hubspot
* @urlAlias hubspot.com
* @urlRegex *://*.atlassian.com/*
* @urlRegex *://app.hubspot.com/*
*/
'use strict';

Expand All @@ -13,11 +13,11 @@ togglbutton.render(
const $description = $('div[data-selenium-test="ticket-highlight-details"] h3');
return $description.textContent.trim();
}

function tagsSelector () {
const pipeline = $('div#pipeline-select') ? $('div#pipeline-select').textContent.trim(): '';
const stage = $('div#stage-select') ? $('div#stage-select').textContent.trim(): '';

return [pipeline, stage];
}
const link = togglbutton.createTimerLink({
Expand Down
2 changes: 1 addition & 1 deletion src/origins.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export default {
name: 'Helpscout'
},
'hubspot.com': {
url: '*://*.atlassian.com/*',
url: '*://*.hubspot.com/*',
name: 'Hubspot',
file: 'hubspot.js'
},
Expand Down

0 comments on commit 5004ccb

Please sign in to comment.