loleaflet/dist/toolbar/toolbar.js | 1 + 1 file changed, 1 insertion(+)
New commits: commit 061c720ee1b7b018c58a1c994e5352ca268a2e67 Author: Marco Cecchetti <marco.cecche...@collabora.com> Date: Tue May 23 15:20:34 2017 +0200 loleaflet: calc: styles are visible in fonts dropdown Change-Id: Ia909ed9f35d6a1c80f6696abeddefe2d4ad2d6a0 Reviewed-on: https://gerrit.libreoffice.org/38001 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js index e295c9ea..18c996bf 100644 --- a/loleaflet/dist/toolbar/toolbar.js +++ b/loleaflet/dist/toolbar/toolbar.js @@ -1331,6 +1331,7 @@ function updateCommandValues() { if (typeof commandValues === 'undefined') { return; } + data = []; // reset data in order to avoid that the font select box is populated with styles, too. // Old browsers like IE11 et al don't like Object.keys with // empty arguments if (typeof commandValues === 'object') { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits