tdf#127663: Don't emit 'uno .uno:FontHeight ...' multiple times.

Otherwise it will end up several times on the undo stack, and the user
has to hit undo several times before undone.

Change-Id: I089c9c9a521e1315b1f85b2866d04ee23a10d3b1
Reviewed-on: https://gerrit.libreoffice.org/79401
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index 183adfb..4be262f 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -1546,7 +1546,7 @@
			return parseFloat(a.text) - parseFloat(b.text);
		})}
	});
	$('.fontsizes-select').on('select2:select', onFontSizeSelect);
	$('.fontsizes-select').off('select2:select', onFontSizeSelect).on('select2:select', onFontSizeSelect);
}

function onCommandStateChanged(e) {