Browse Source

Maybe fix replacement issue

master
Roderic Day 5 years ago
parent
commit
c8937f41c7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      apps/streams.js

+ 2
- 2
apps/streams.js View File

@@ -139,7 +139,7 @@ const Video = {
height: '100%',
transform: 'scaleX(-1)',
}
return m('.video-container', {key: username, style: styleOuter},
return m('.video-container', {style: styleOuter},
m('.video-info', {style: {position: 'absolute', zIndex: 999}},
m('span', {style: {padding: '5px'}}, username),
),
@@ -179,7 +179,7 @@ const StreamContainer = {
return m('.videos', {style},
m(Video, {username: State.username}),
State.online.filter(username => username != State.username)
.map(username => m(Video, {username}))
.map(username => m(Video, {key: username, username}))
)
},
}

Loading…
Cancel
Save