Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
pass referrer to call power
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorris committed Oct 17, 2017
1 parent 3e927bc commit 15d8005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iframe/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@

transitionTimer = setTimeout(onCall, 500);

xhr.open(call.getAttribute('method'), call.getAttribute('action'), true);
xhr.open(call.getAttribute('method'), call.getAttribute('action') + '?ref=' + document.referrer, true);
xhr.send(formData);
});

Expand Down

0 comments on commit 15d8005

Please sign in to comment.