mirror of
https://github.com/nasa/openmct.git
synced 2025-06-13 20:58:15 +00:00
[Formatting] Fix styling errors
This commit is contained in:
@ -29,7 +29,7 @@ define(
|
||||
"jsPDF",
|
||||
"saveAs"
|
||||
],
|
||||
function (html2canvas, jsPDF, saveAs) {
|
||||
function (html2canvas, JsPdf, saveAs) {
|
||||
|
||||
/**
|
||||
* The export image service will export any HTML node to
|
||||
@ -75,7 +75,7 @@ define(
|
||||
callback = typeof callback === "function" ? callback : function () {};
|
||||
|
||||
renderElement(element, function (img) {
|
||||
var pdf = new jsPDF("l", "px", [element.offsetHeight, element.offsetWidth]);
|
||||
var pdf = new JsPdf("l", "px", [element.offsetHeight, element.offsetWidth]);
|
||||
pdf.addImage(img, "JPEG", 0, 0, element.offsetWidth, element.offsetHeight);
|
||||
pdf.save(filename);
|
||||
callback();
|
||||
|
Reference in New Issue
Block a user