diff options
author | Akshay <[email protected]> | 2024-10-31 14:41:31 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-10-31 14:41:31 +0000 |
commit | 5de14f99c9e9b0d20e8768b1373e172af595c648 (patch) | |
tree | 524752e17b807ce227d31810b082fcd738a1994f /src/geddit.js | |
parent | 9914e4bf6856c0c76e6ee1371f708be946797ad5 (diff) |
improve mobile ui, add pagination
Diffstat (limited to 'src/geddit.js')
-rw-r--r-- | src/geddit.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/geddit.js b/src/geddit.js index 93477e7..902d859 100644 --- a/src/geddit.js +++ b/src/geddit.js | |||
@@ -218,8 +218,6 @@ class Geddit { | |||
218 | include_over_18: true | 218 | include_over_18: true |
219 | } | 219 | } |
220 | 220 | ||
221 | console.log(this.host + "/search.json?" + new URLSearchParams(Object.assign(params, options))); | ||
222 | |||
223 | return await fetch(this.host + "/search.json?" + new URLSearchParams(Object.assign(params, options))) | 221 | return await fetch(this.host + "/search.json?" + new URLSearchParams(Object.assign(params, options))) |
224 | .then(res => res.json()) | 222 | .then(res => res.json()) |
225 | .then(json => json.data) | 223 | .then(json => json.data) |