Skip to content

Commit

Permalink
Client: thirdparty. Fixed getObjectByLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbannov committed Oct 13, 2021
1 parent 66d1264 commit af31f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/thirdparty/third-party.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
const searchUrl = location.search.substring(1);
const object = JSON.parse(
'{"' +
decodeURIComponent(searchUrl)
decodeURIComponent(searchUrl
.replace(/"/g, '\\"')
.replace(/&/g, '","')
.replace(/=/g, '":"') +
.replace(/=/g, '":"')) +
'"}'
);

Expand Down

0 comments on commit af31f2f

Please sign in to comment.