mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 23:54:55 +01:00
Fix image export
This commit is contained in:
parent
ec4bb85009
commit
b076f482f1
@ -31,7 +31,7 @@ class BinaryImageExporter extends Exporter {
|
||||
height: number;
|
||||
|
||||
constructor(mindmap: Mindmap, svgElement: Element, width: number, height: number, imgFormat: 'image/png' | 'image/jpeg') {
|
||||
super(imgFormat.split['/'][0], imgFormat);
|
||||
super(imgFormat.split('/')[0], imgFormat);
|
||||
this.svgElement = svgElement;
|
||||
this.mindmap = mindmap;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user