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

Aditya Dewan aditya.dewan at collabora.co.uk
Thu Dec 21 15:50:23 UTC 2017


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

New commits:
commit f86bc2814eab51e40d577491fb8f8a464267f7d2
Author: Aditya Dewan <aditya.dewan at collabora.co.uk>
Date:   Mon Dec 11 01:48:58 2017 +0530

    close user list pop up on checkbox click
    
    Change-Id: Ied483b0bb484e93a665ed1197f3e48c3fc6e6020
    Reviewed-on: https://gerrit.libreoffice.org/46196
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 5baaf22d..bcee2626 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1717,12 +1717,12 @@ function editorUpdate(e) {
 		$('.selected-user').removeClass('selected-user');
 		if ($(userlistItem.html).find('.selected-user').length !== 0)
 			userlistItem.html = $(userlistItem.html).find('.selected-user').removeClass('selected-user').parent().parent().parent()[0].outerHTML;
-		$('#tb_toolbar-down_item_userlist').w2overlay('');
 	}
 	else {
 		docLayer._followEditor = false;
 		docLayer._followThis = -1;
 	}
+	$('#tb_toolbar-down_item_userlist').w2overlay('');
 }
 
 function selectUser(viewId) {


More information about the Libreoffice-commits mailing list