diff --git a/src/widget.js b/src/widget.js index ea538c2..117ec35 100644 --- a/src/widget.js +++ b/src/widget.js @@ -4,9 +4,13 @@ const dropArea = document.querySelector(".blst-drag-area"), input = dropArea.querySelector(".blst-input"); const example = document.querySelector("#example_href"); +const nathan = document.querySelector("#nathan_href"); if (example) { 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}` } +if (nathan) { + nathan.href = `https://www.blstsecurity.com?promo=${document.getElementById("cyRefcode").attributes['data-ref'].value || 'blst'}&domain=${document.location.origin}` +} let blstFile; //this is a global variable and we'll use it inside multiple functions