File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,13 @@ const dropArea = document.querySelector(".blst-drag-area"),
4
4
input = dropArea . querySelector ( ".blst-input" ) ;
5
5
6
6
const example = document . querySelector ( "#example_href" ) ;
7
+ const nathan = document . querySelector ( "#nathan_href" ) ;
7
8
if ( example ) {
8
9
example . href = `https://www.blstsecurity.com/ScanSwagger/6209ab14-089e-4108-8bb2-5b22deab9751?tab=Summary&promo=${ document . getElementById ( "cyRefcode" ) . attributes [ 'data-ref' ] . value || 'blst' } &domain=${ document . location . origin } `
9
10
}
11
+ if ( nathan ) {
12
+ nathan . href = `https://www.blstsecurity.com?promo=${ document . getElementById ( "cyRefcode" ) . attributes [ 'data-ref' ] . value || 'blst' } &domain=${ document . location . origin } `
13
+ }
10
14
11
15
let blstFile ; //this is a global variable and we'll use it inside multiple functions
12
16
You can’t perform that action at this time.
0 commit comments