mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-19 05:40:44 +00:00
CE-1946: minor updates to padding, fixes, etc
This commit is contained in:
@ -75,7 +75,8 @@ export default class HtmlUtils
|
||||
{
|
||||
if (url.startsWith("http"))
|
||||
{
|
||||
url += encodeURIComponent(`?response-content-disposition=attachment; ${filename}`);
|
||||
const separator = url.includes("?") ? "&" : "?";
|
||||
url += encodeURIComponent(`${separator}response-content-disposition=attachment; ${filename}`);
|
||||
}
|
||||
|
||||
const link = document.createElement("a");
|
||||
|
Reference in New Issue
Block a user