[Libreoffice-commits] online.git: loleaflet/js

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Mar 30 20:58:45 UTC 2019


 loleaflet/js/global.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 68be4badb21e7fd2ae7ce36632383e008086c507
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Sat Mar 30 16:40:35 2019 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Sat Mar 30 16:58:08 2019 -0400

    loleaflet: fix the prototype property of a constructor L.Socket
    
    Change-Id: Ie0086b6e1129fa9aaba416e44d49829fe605ded6

diff --git a/loleaflet/js/global.js b/loleaflet/js/global.js
index 664a06e37..344ada470 100644
--- a/loleaflet/js/global.js
+++ b/loleaflet/js/global.js
@@ -127,7 +127,7 @@
 		}
 
 		global.socket.onmessage = function (event) {
-			if (global.L && global.socket instanceof L.Socket) {
+			if (global.L && global.socket instanceof global.L.Socket) {
 				global.socket._onMessage(event);
 			} else {
 				global.queueMsg.push(event.data);


More information about the Libreoffice-commits mailing list