Skip to content

Commit

Permalink
popup: use common classname prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Aug 30, 2017
1 parent 980c812 commit a354d27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/popup/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default {
this.popup && this.popup.show()
this.$emit('on-show')
this.fixSafariOverflowScrolling('auto')
dom.addClass(document.body, 'modal-open')
dom.addClass(document.body, 'vux-modal-open')
if (!this.hasFirstShow) {
this.$emit('on-first-show')
this.hasFirstShow = true
Expand All @@ -139,7 +139,7 @@ export default {
if (!document.querySelector('.vux-popup-dialog.vux-popup-show')) {
this.fixSafariOverflowScrolling('touch')
}
dom.removeClass(document.body, 'modal-open')
dom.removeClass(document.body, 'vux-modal-open')
}, 200)
}
}
Expand Down Expand Up @@ -223,7 +223,7 @@ export default {
transform: translate3d(0, -100%, 0);
}
.modal-open {
.vux-modal-open {
overflow: hidden;
position: fixed;
width: 100%;
Expand Down

0 comments on commit a354d27

Please sign in to comment.