Merge remote-tracking branch 'origin/main'

This commit is contained in:
Hosted Weblate
2024-12-04 15:54:42 +00:00
2 changed files with 2 additions and 2 deletions
@@ -216,7 +216,7 @@ public class WebxdcActivity extends WebViewActivity implements DcEventCenter.DcE
webView.setNetworkAvailable(internetAccess); // this does not block network but sets `window.navigator.isOnline` in js land
webView.addJavascriptInterface(new InternalJSApi(), "InternalJSApi");
String href = b.getString(EXTRA_HREF, "");
String href = baseURL + "/" + b.getString(EXTRA_HREF, "index.html");
String encodedHref = "";
try {
encodedHref = URLEncoder.encode(href, Charsets.UTF_8.name());
+1 -1
View File
@@ -145,7 +145,7 @@
const params = new URLSearchParams(document.location.search);
const internetAccess = (params.get("i") || "0") === "1";
let href = params.get("href") || "index.html";
const href = params.get("href");
if (internetAccess) { // fill500 not needed, just load the frame
fill500 = (href) => {