forked from mirrored/github-stats-extended
fix PNG download
This commit is contained in:
1 parent
1b95bc280a
commit
48e63464d8
1 file changed
+1
-1
@@ -17,7 +17,7 @@ const DisplayStage = ({ userId, themeSuffix }) => {
|
||||
|
||||
const downloadPNG = () => {
|
||||
saveSvgAsPng(
|
||||
document.getElementById('svg-card').firstElementChild,
|
||||
document.getElementById('abc').shadowRoot.firstElementChild.firstElementChild,
|
||||
`${userId}_${card}.png`,
|
||||
{
|
||||
scale: 2,
|
||||
|
||||
Reference in new issue
Block a user