loleaflet/dist/loading.html | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)
New commits: commit 67ea3da4dbfdc9147eca128319f48b9edf51612c Author: Andras Timar <andras.ti...@collabora.com> Date: Fri Jun 15 11:54:13 2018 +0200 No need to load l10n framework for a page that appears for fragment of a second Change-Id: Ie9c7b05571b02f06b50a7f907de500213299e870 Reviewed-on: https://gerrit.libreoffice.org/55849 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/loleaflet/dist/loading.html b/loleaflet/dist/loading.html index 61a5edadd..a99cc7315 100644 --- a/loleaflet/dist/loading.html +++ b/loleaflet/dist/loading.html @@ -20,21 +20,13 @@ height: 100px; } </style> - <link rel="localizations" href="/loleaflet/dist/l10n/localizations.json" type="application/vnd.oftn.l10n+json"/> </head> <body> - <script src="/loleaflet/dist/l10n/json2.min.js"></script> - <script src="/loleaflet/dist/l10n/l10n.min.js"></script> <div class="spinner"> <canvas id="spinner" class="leaflet-progress-spinner-canvas"></canvas> - <h4>Loading...</h4> </div> + <script> + var spinnerInterval = window.parent.L.LOUtil.startSpinner(document.getElementById('spinner'), 1.5); + </script> </body> - <script> - var translatableContent = document.getElementsByTagName("h4"); - for (var i=0, max=translatableContent.length; i < max; i++) { - translatableContent[i].firstChild.nodeValue = translatableContent[i].firstChild.nodeValue.toLocaleString(); - } - var spinnerInterval = window.parent.L.LOUtil.startSpinner(document.getElementById('spinner'), 1.5); - </script> </html> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits