update embed script
This commit is contained in:
parent
9689f682aa
commit
6f8e105836
1 changed files with 2 additions and 4 deletions
6
embed.js
6
embed.js
|
|
@ -1,9 +1,7 @@
|
|||
(function() {
|
||||
const params = new Proxy(new URLSearchParams(window.location.search), {
|
||||
get: (searchParams, prop) => searchParams.get(prop),
|
||||
});
|
||||
const params = new new URLSearchParams(window.location.search)
|
||||
|
||||
if (!params.embed) {
|
||||
if (!params.has('embed')) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue