loleaflet/js/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 68be4badb21e7fd2ae7ce36632383e008086c507 Author: Henry Castro <[email protected]> AuthorDate: Sat Mar 30 16:40:35 2019 -0400 Commit: Henry Castro <[email protected]> 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); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
