Skip to content

Commit 3bdd318

Browse files
committed
fix class bug
1 parent e29046c commit 3bdd318

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue2-slideout-panel",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Lib for creating stackable panels using Vue JS",
55
"main": "dist/vue2-slideout-panel.js",
66
"scripts": {

src/components/SlideoutPanel/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ const vm = {
160160
}
161161
},
162162
removeBodyClass() {
163+
document.body.className = document.body.className.replace(' slideout-panel-open', '');
163164
document.body.className = document.body.className.replace('slideout-panel-open', '');
164165
},
165166
onBgClicked() {

0 commit comments

Comments
 (0)