more eslin
This commit is contained in:
parent
5d3f26edf8
commit
cf2784fcdb
3 changed files with 1 additions and 4 deletions
|
@ -139,8 +139,7 @@ const Util = {
|
|||
|
||||
// remove images to avoid http content in https context
|
||||
const walker = parsed.walker()
|
||||
let event
|
||||
while (event = walker.next()) {
|
||||
for (let event = walker.next(); event = walker.next(); event) {
|
||||
const node = event.node
|
||||
if (node.type === 'image') {
|
||||
const imageAlt = node.firstChild.literal
|
||||
|
|
|
@ -49,7 +49,6 @@ const ChatView = {
|
|||
$('#' + ChatView.domId).hide()
|
||||
},
|
||||
render: () => {
|
||||
return
|
||||
if (!Active.Map) return
|
||||
const self = ChatView
|
||||
self.mapChat = ReactDOM.render(React.createElement(MapChat, {
|
||||
|
|
|
@ -11,7 +11,6 @@ const Views = {
|
|||
init: (serverData) => {
|
||||
$(document).on(JUNTO_UPDATED, () => ExploreMaps.render())
|
||||
ChatView.init([serverData['sounds/MM_sounds.mp3'], serverData['sounds/MM_sounds.ogg']])
|
||||
|
||||
},
|
||||
ExploreMaps,
|
||||
ChatView,
|
||||
|
|
Loading…
Add table
Reference in a new issue