Skip to content

Commit

Permalink
Merge pull request #608 from mpourismaiel/fix/events/fix-missing-char…
Browse files Browse the repository at this point in the history
…acters

Fix bad split in event params (pubsub)
  • Loading branch information
stp-ip authored Sep 12, 2019
2 parents 4af6817 + 16e2040 commit 1a9e6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Stream {
}

_translateUrlQuery(url) {
const query = url.split('?')[1] || '';
const query = url.slice(url.indexOf('?') + 1) || '';
return query
.split('&')
.reduce((tmp, pair) => {
Expand Down
2 changes: 1 addition & 1 deletion assets/scripts/syna-head.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1a9e6a7

Please sign in to comment.