git://boxin.space
/
website
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e9d920
)
Fix webring code cause I broke it lmao
author
Mira Ayre
<mi@boxin.space>
Mon, 28 Mar 2022 13:02:32 +0000
(15:02 +0200)
committer
Mira Ayre
<mi@boxin.space>
Mon, 28 Mar 2022 13:02:32 +0000
(15:02 +0200)
webring.js
patch
|
blob
|
history
diff --git
a/webring.js
b/webring.js
index be43ac14b4feed2924f24683412efd9f9864972d..d3a850c55e2db411371dd82c0deee607d99a3d4a 100644
(file)
--- a/
webring.js
+++ b/
webring.js
@@
-1,7
+1,6
@@
var data = fetch( "https://lavender.software/webring/data.json" )
- .then( function ( r ) {
- let data = r.json() :
-
+ .then( function ( r ) { return r.json() ; } )
+ .then( function ( data ) {
var index = -1 ;
for ( var i = 0 ; i < data.length ; i ++ )
if ( data[i].id == "mira" )