pull/12/head
cagataycivici 2019-02-05 06:42:40 +03:00
parent b7a7f7ff3c
commit 2211989140
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ export default {
if (!this.mask) {
this.mask = document.createElement('div');
this.mask.style.zIndex = String(parseInt(this.$refs.container.style.zIndex, 10) - 1);
DomHandler.addMultipleClasses(this.mask, 'p-component-overlay p-fadein');
DomHandler.addMultipleClasses(this.mask, 'p-component-overlay');
if (this.dismissable) {
this.bindMaskClickListener();
}
@ -95,7 +95,7 @@ export default {
},
bindMaskClickListener() {
if (!this.maskClickListener) {
this.maskClickListener = (event) => {
this.maskClickListener = () => {
this.hide();
};
this.mask.addEventListener('click', this.maskClickListener);