Browse Source

fix(core): change default insert position in the lazy-load.service

pull/2285/head
mehmet-erim 7 years ago
parent
commit
13a10c2cc5
  1. 2
      npm/ng-packs/packages/core/src/lib/services/lazy-load.service.ts

2
npm/ng-packs/packages/core/src/lib/services/lazy-load.service.ts

@ -13,7 +13,7 @@ export class LazyLoadService {
type: 'script' | 'style',
content: string = '',
targetQuery: string = 'body',
position: InsertPosition = 'afterend',
position: InsertPosition = 'beforeend',
): Observable<void> {
if (!urlOrUrls && !content) {
return throwError('Should pass url or content');

Loading…
Cancel
Save