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

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Thu Mar 19 18:19:12 UTC 2020


 loleaflet/src/control/Control.Toolbar.js |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit e030e434610437ecd1f4e48471639d9314e8ffe1
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Thu Mar 19 10:24:48 2020 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Thu Mar 19 19:18:54 2020 +0100

    loleaflet: remove unnecessary debug console log
    
    Change-Id: I1d8b789e7b777dba52362b750475bfd1de1585cd
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90757
    Tested-by: Henry Castro <hcastro at collabora.com>
    Reviewed-by: Henry Castro <hcastro at collabora.com>

diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index d6e8ce67d..18aae5c52 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -2105,12 +2105,6 @@ function updateToolbarCommandValues(e) {
 			data = data.concat(Object.keys(commandValues));
 		}
 
-		/* debug messages it will be removed later */
-		if (data.length < 3) {
-			console.log('ALERT!, the server is sending a small font list');
-		}
-		/* debug end*/
-
 		$('.fonts-select').select2({
 			data: data.sort(function (a, b) {  // also sort(localely)
 				return a.localeCompare(b);


More information about the Libreoffice-commits mailing list