loleaflet/src/control/Control.Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f2042d526dd40f6163a66e9d1af48ef27461f6a9 Author: Pedro Pinto Silva <pedro.si...@collabora.com> AuthorDate: Fri Nov 29 13:55:07 2019 +0100 Commit: Pedro Pinto da Silva <pedro.si...@collabora.com> CommitDate: Fri Nov 29 13:56:25 2019 +0100 Language status: use rewrite html instead of appending content Change-Id: If7e5d64148935b408d6d010cfec7694b2ebfb596 Reviewed-on: https://gerrit.libreoffice.org/84062 Reviewed-by: Pedro Pinto da Silva <pedro.si...@collabora.com> Tested-by: Pedro Pinto da Silva <pedro.si...@collabora.com> diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js index 9e3007c06..4ae1808d8 100644 --- a/loleaflet/src/control/Control.Toolbar.js +++ b/loleaflet/src/control/Control.Toolbar.js @@ -1771,7 +1771,7 @@ function onCommandStateChanged(e) { } updateToolbarItem(statusbar, 'LanguageStatus', $('#LanguageStatus').html(language).parent().html()); w2ui['editbar'].set('languagecode', {text: code}); - $('#tb_actionbar_item_LanguageStatus table table td:first-of-type').append(language+' '); + $('#tb_actionbar_item_LanguageStatus table table td:first-of-type').html(language+' '); } else if (commandName === '.uno:ModifiedStatus') { if (e.state === 'true') { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits