Skip to content

Commit

Permalink
fix: InjectionToken should be Window
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisam authored Jul 11, 2018
1 parent 412cfef commit ca99f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngx-clipboard/src/lib/ngx-clipboard.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function CLIPBOARD_SERVICE_PROVIDER_FACTORY(
export const CLIPBOARD_SERVICE_PROVIDER = {
deps: [
DOCUMENT as InjectionToken<Document>,
WINDOW as InjectionToken<Document>,
WINDOW as InjectionToken<Window>,
[new Optional(), new SkipSelf(), ClipboardService]
],
provide: ClipboardService,
Expand Down

0 comments on commit ca99f4a

Please sign in to comment.