-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
//Remove the export button if we are in an IFrame
if (window.location === window.parent.location) {
penPlus.isIFrame = true;
fileDropdown.removeChild(importButton);
fileDropdown.removeChild(exportButton);
}should be
//Remove the export button if we are not in an IFrame
if (window.location === window.parent.location) {
penPlus.isIFrame = false;
fileDropdown.removeChild(importButton);
fileDropdown.removeChild(exportButton);
}
else {
penPlus.isIFrame = true;
}although penPlus.isIFrame is never used, and everything works fine currently.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels