Permalink
Browse files

perf(navbar-toggle): Remove unused code

  • Loading branch information...
tmorehouse committed Nov 5, 2017
1 parent fab5d9a commit 1e95383959e48b6f926738b4d600967879c5c354
Showing with 3 additions and 6 deletions.
  1. +3 −6 src/components/navbar/navbar-toggle.vue
@@ -38,19 +38,16 @@ export default {
default: 'right'
},
target: {
type: String,
required: true
}
},
methods: {
onclick() {
const target = this.target;
if (target.toggle) {
target.toggle();
}
this.$root.$emit('bv::toggle::collapse', this.target);
},
handleStateEvt(target, state) {
if (target === this.target || target === this.target.id) {
handleStateEvt(id, state) {
if (id === this.target) {
this.toggleState = state;
}
}

0 comments on commit 1e95383

Please sign in to comment.