Spaces:
Running
Running
Update public/script.js
Browse files- public/script.js +2 -2
public/script.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
const params = new URLSearchParams(location.search);
|
| 3 |
if (params.has('q')) {
|
| 4 |
new MutationObserver((mut, obs) => {
|
|
@@ -17,4 +17,4 @@ addEventListener('load', () => {
|
|
| 17 |
}
|
| 18 |
}).observe(document.getElementById('root'), {childList: true, subtree: true});
|
| 19 |
}
|
| 20 |
-
});
|
|
|
|
| 1 |
+
(function () {
|
| 2 |
const params = new URLSearchParams(location.search);
|
| 3 |
if (params.has('q')) {
|
| 4 |
new MutationObserver((mut, obs) => {
|
|
|
|
| 17 |
}
|
| 18 |
}).observe(document.getElementById('root'), {childList: true, subtree: true});
|
| 19 |
}
|
| 20 |
+
})();
|