Closed
Description
document.location.origin fails with 'undefined' and a broken URL is created
Can you please add this line to the addGradientFill function:
var url_origin = ( typeof document.location.origin == 'undefined' )?
document.location.protocol+'//'+document.location.host :
document.location.origin;
before:
$(o, {
fill: "url('" + url_origin + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
to fix this problem?
Metadata
Metadata
Assignees
Labels
No labels