loleaflet/dist/toolbar/toolbar.js |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 53b768de0fed2d6e0243bb1a85fc37cacdfe14b6
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Thu Sep 1 14:25:54 2016 +0530

    loleaflet: Remove troublesome checks
    
    ... and fix the incosistency among view count in UI
    
    Change-Id: I6b055b6d145c2de314830731f6341462287b244a

diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index b43a7de..f6597f2 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1368,9 +1368,6 @@ function updateUserListCount(userlist) {
 }
 
 map.on('addview', function(e) {
-       if (!e.viewId || !e.username)
-               return;
-
        $('#tb_toolbar-down_item_userlist')
                .w2overlay({
                        class: 'loleaflet-font',
@@ -1392,9 +1389,6 @@ map.on('addview', function(e) {
 });
 
 map.on('removeview', function(e) {
-       if (!e.viewId || !e.username)
-               return;
-
        $('#tb_toolbar-down_item_userlist')
                .w2overlay({
                        class: 'loleaflet-font',
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to