From 8f88744f477f468e5efaec249a0fab83e24e2823 Mon Sep 17 00:00:00 2001 From: "Stephen M. Pallen" Date: Thu, 5 Apr 2018 15:21:39 -0400 Subject: [PATCH] fix posting message issue on edge --- CHANGELOG.md | 3 ++- assets/js/tone_generator.js | 2 +- plugins/one_chat/lib/one_chat_web/channels/client.ex | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f2c3e8..39f2b4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # InfinityOne Changelog -## 1.0.0.beta11 (2018-04-04) +## 1.0.0.beta11 (2018-04-05) ### Enhancements @@ -18,6 +18,7 @@ * User correct platform name in description on Windows and Linux download pages * Fix Issue expanding help sections in sidenav * Fix some markdown formatting issue on help pages +* Fix the message posting issue on MS Edge ## 1.0.0.beta10 (2018-04-03) diff --git a/assets/js/tone_generator.js b/assets/js/tone_generator.js index 4633091..9e23f70 100644 --- a/assets/js/tone_generator.js +++ b/assets/js/tone_generator.js @@ -15,7 +15,7 @@ destination: undefined, control: undefined, initStart: function() { - var ctrl = this.control // + var ctrl = this.control; // this.destination = this.audioContext.createMediaStreamDestination(); if (ctrl) { ctrl.srcObject = this.destination.stream diff --git a/plugins/one_chat/lib/one_chat_web/channels/client.ex b/plugins/one_chat/lib/one_chat_web/channels/client.ex index 65f15b3..342b9c4 100644 --- a/plugins/one_chat/lib/one_chat_web/channels/client.ex +++ b/plugins/one_chat/lib/one_chat_web/channels/client.ex @@ -131,7 +131,7 @@ defmodule OneChatWeb.Client do var at_bottom = OneUtils.is_scroll_bottom(30); var user_id = '#{message.user_id}'; var id = '#{message.id}'; - elem.append(node); + elem.appendChild(node); Rebel.set_event_handlers('[id="#{message.id}"]'); OneChat.normalize_message(id); if (at_bottom || user_id == ucxchat.user_id) {