File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @name Hubspot
3
+ * @urlAlias hubspot.com
4
+ * @urlRegex *://*.atlassian.com/*
5
+ */
1
6
'use strict' ;
2
- /* global togglbutton, $ */
3
7
4
8
togglbutton . render (
5
9
'div[data-selenium-test="ticket-highlight-details"]:not(.toggl)' ,
@@ -24,8 +28,8 @@ function descriptionSelector () {
24
28
}
25
29
26
30
function tagsSelector ( ) {
27
- const pipeline = $ ( 'div#pipeline-select' ) . textContent . trim ( ) ;
28
- const stage = $ ( 'div#stage-select' ) . textContent . trim ( ) ;
31
+ const pipeline = $ ( 'div#pipeline-select' ) ? $ ( 'div#pipeline-select' ) . textContent . trim ( ) : '' ;
32
+ const stage = $ ( 'div#stage-select' ) ? $ ( 'div#stage-select' ) . textContent . trim ( ) : '' ;
29
33
30
34
return [ pipeline , stage ] ;
31
35
}
Original file line number Diff line number Diff line change @@ -260,6 +260,11 @@ export default {
260
260
url : '*://habitica.com/*' ,
261
261
name : 'Habitica'
262
262
} ,
263
+ 'hubspot.com' : {
264
+ url : '*://app.hubspot.com/*' ,
265
+ name : 'Hubspot' ,
266
+ file : 'hubspot.js'
267
+ } ,
263
268
'app.heflo.com' : {
264
269
url : '*://app.heflo.com/*' ,
265
270
name : 'HEFLO'
You can’t perform that action at this time.
0 commit comments