Skip to content

Commit

Permalink
fix default defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFrankel committed Jan 22, 2018
1 parent aa7e954 commit 7f3004e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-popper",
"version": "1.9.6",
"version": "1.9.8",
"description": "ngx-popper is an angular wrapper for popper.js",
"directories": {
"test": "test"
Expand Down
2 changes: 1 addition & 1 deletion src/popper-directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class PopperController implements OnInit, OnChanges {
private changeDetectorRef: ChangeDetectorRef,
private resolver: ComponentFactoryResolver,
private renderer: Renderer2,
@Inject('popperDefaults') private popperDefaults: PopperContentOptions) {
@Inject('popperDefaults') private popperDefaults: PopperContentOptions = {}) {
PopperController.baseOptions = {...PopperController.baseOptions, ...this.popperDefaults}
}

Expand Down

0 comments on commit 7f3004e

Please sign in to comment.