Skip to content

Commit

Permalink
fix: typo in overlay selector
Browse files Browse the repository at this point in the history
fix: typo in vex overlay css class
  • Loading branch information
Shlomi Assaf (shlassaf) committed Aug 21, 2016
1 parent a278ffc commit f091153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/angular2-modal/overlay/overlay.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { BaseDynamicComponent } from '../components/index';
* Represents the modal overlay.
*/
@Component({
selector: 'modal-overlay/index',
selector: 'modal-overlay',
host: {
'[attr.style]': 'styleStr',
'[attr.class]': 'cssClass',
Expand Down
2 changes: 1 addition & 1 deletion src/components/angular2-modal/plugins/vex/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class Modal extends Modal_ {
.subscribe(() => this.overlay.stackLength === 0 && document.body.classList.remove('vex-open'));

overlay.addClass(`vex vex-theme-${dialogRef.context.className}`);
backdrop.addClass('vex-overlay/index');
backdrop.addClass('vex-overlay');
container.addClass(dialogRef.context.contentClassName);
container.setStyle('display', 'block');
if (dialogRef.inElement) {
Expand Down

0 comments on commit f091153

Please sign in to comment.