Skip to content

Commit

Permalink
update const
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Jun 16, 2021
1 parent 06dee9c commit e047981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
<script>
{{#babel}}
function iframeGetSearchParams() {
let params = window.location.search.substr(1);
let verticalUrl = window.location.pathname.substr(1);
const params = window.location.search.substr(1);
const verticalUrl = window.location.pathname.substr(1);
return verticalUrl
? params + '&verticalUrl=' + verticalUrl
: params;
Expand Down

0 comments on commit e047981

Please sign in to comment.