fix browser step relative URL display on Firefox browser

Fixes the issue where Firefox browsers will not display the browser step pictures on an about:blank popup because the relative URL path cannot be used. Adds base URL to the front of the URL path so it is compatible with both Firefox/Chrome browsers.
pull/2246/head
swg0101 2 months ago committed by GitHub
parent 38c4768b92
commit 9a4f26047e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -454,7 +454,7 @@ $(document).ready(function () {
w = window.open(this.href, "_blank", "width=640,height=480");
const t = $(event.currentTarget).data('type');
const url = browser_steps_fetch_screenshot_image_url + `&step_n=${step_n}&type=${t}`;
const url = window.origin + browser_steps_fetch_screenshot_image_url + `&step_n=${step_n}&type=${t}`;
w.document.body.innerHTML = `<!DOCTYPE html>
<html lang="en">
<body>

Loading…
Cancel
Save