瀏覽代碼

Fix logout bug

master
Roderic Day 4 年之前
父節點
當前提交
7f4821675d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      apps/streams.js

+ 1
- 1
apps/streams.js 查看文件

const dims = [ const dims = [
Math.floor((1 + Math.sqrt(4 * State.online.length - 3)) / 2), Math.floor((1 + Math.sqrt(4 * State.online.length - 3)) / 2),
Math.ceil(Math.sqrt(State.online.length)), Math.ceil(Math.sqrt(State.online.length)),
].map(n => Array(n).fill('1fr').join(' '))
].map(n => Array(n || 1).fill('1fr').join(' '))


if(innerHeight > innerWidth) dims.reverse() if(innerHeight > innerWidth) dims.reverse()
const style = { const style = {

Loading…
取消
儲存