diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js index 65a74ecef..e2289a748 100644 --- a/loleaflet/src/control/Toolbar.js +++ b/loleaflet/src/control/Toolbar.js @@ -361,8 +361,12 @@ L.Map.include({ var productURL = (typeof brandProductURL !== 'undefined') ? brandProductURL : 'https://libreoffice.org'; content.find('#product-name').text(productName); var productString = _('This version of %productName is powered by'); - var productNameWithURL = '' + productName + ''; + else + productNameWithURL = productName; content.find('#product-string').html(productString.replace('%productName', productNameWithURL)); var w;