Skip to content

Commit

Permalink
exportPage method modified
Browse files Browse the repository at this point in the history
  • Loading branch information
toniskobic committed Sep 1, 2023
1 parent e86e526 commit f218d39
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/services/export-website.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Store } from '@ngrx/store';
import { saveAs } from 'file-saver';
import * as JSZip from 'jszip';
import { firstValueFrom, Subject, Subscription, take } from 'rxjs';
import { environment } from 'src/environments/environment';

import {
ATTRIBUTES_STARTING_WITH_TO_REMOVE,
Expand Down Expand Up @@ -174,9 +173,9 @@ export class ExportWebsiteService {
ATTRIBUTES_TO_REMOVE.forEach(attribute => this.removeAttrOrClass(canvas, attribute));
CLASSES_TO_REMOVE.forEach(className => this.removeAttrOrClass(canvas, className, true));
ATTRIBUTES_STARTING_WITH_TO_REMOVE.forEach(attribute => this.removeAttributesStartingWith(canvas, attribute));
if (!environment.production) {
ATTRIBUTES_STARTING_WITH_TO_REMOVE_DEV.forEach(attribute => this.removeAttributesStartingWith(canvas, attribute));
}
// if (!environment.production) {
ATTRIBUTES_STARTING_WITH_TO_REMOVE_DEV.forEach(attribute => this.removeAttributesStartingWith(canvas, attribute));
// }

this.replaceNavigationLinks(canvas);
this.insertLogoSrc(canvas);
Expand Down

0 comments on commit f218d39

Please sign in to comment.