Don't show a link for the product name in Help>About on iOS
The app's WKWebView is not configured to allow opening web pages, so it won't work anyway. When clicking the link the app will crash with "Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Returned WKWebView was not created with the given configuration.'" Change-Id: Iac05b74087331d6f3a0405e76f4323316af4729a Reviewed-on: https://gerrit.libreoffice.org/84595 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
parent
b28b310e6e
commit
ec686a3d5f
1 changed files with 5 additions and 1 deletions
|
@ -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 = '<a href="' + sanitizeUrl.sanitizeUrl(productURL) +
|
||||
var productNameWithURL;
|
||||
if (!window.ThisIsTheiOSApp)
|
||||
productNameWithURL = '<a href="' + sanitizeUrl.sanitizeUrl(productURL) +
|
||||
'" target="_blank">' + productName + '</a>';
|
||||
else
|
||||
productNameWithURL = productName;
|
||||
content.find('#product-string').html(productString.replace('%productName', productNameWithURL));
|
||||
|
||||
var w;
|
||||
|
|
Loading…
Reference in a new issue