fix
This commit is contained in:
@ -78,6 +78,12 @@ export async function db(
|
||||
partialFilterExpression: { work: "live" },
|
||||
}]
|
||||
})
|
||||
await c.fund.createIndexes({
|
||||
indexes: [{
|
||||
key: { rd: 1, "_id.uid": 1, "_id.utc": -1 }, name: "rd",
|
||||
partialFilterExpression: { rd: { $exists: true } },
|
||||
}]
|
||||
})
|
||||
await c.dst.createIndexes({
|
||||
indexes: [{
|
||||
key: { "_id.rd": 1, "_id.aid": 1, "_id.uid": 1 }, name: "rd-aid-uid",
|
||||
|
@ -48,9 +48,8 @@
|
||||
for (const n of document.getElementsByTagName("nav")) n.addEventListener("wheel", e => {
|
||||
if (e.deltaX != 0) return
|
||||
e.preventDefault()
|
||||
const s = n.querySelector("li").scrollWidth
|
||||
if (e.deltaY > 0) n.scrollLeft -= s
|
||||
else if (e.deltaY < 0) n.scrollLeft += s
|
||||
if (e.deltaY > 0) n.scrollLeft -= 60
|
||||
else if (e.deltaY < 0) n.scrollLeft += 60
|
||||
})
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user