Skip to content

Commit c4c87d6

Browse files
committed
[O] Cleanup
1 parent 8dace1d commit c4c87d6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/views/comp/ClassificationResults.vue

+2-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {Options, Vue} from 'vue-class-component';
2828
import {Prop} from "vue-property-decorator";
2929
import curves from '@/data/vox1_kde_curves.json';
3030
import {DoughnutChart, LineChart, ScatterChart, useDoughnutChart} from "vue-chart-3";
31-
import { Chart, ChartData, ChartOptions, registerables, Plugin } from "chart.js";
31+
import {Chart, ChartData, ChartOptions, registerables, Plugin} from "chart.js";
3232
3333
const featureDescriptions = {
3434
pitch: 'Pitch / F0 - Whether the voice sounds high or low.',
@@ -64,12 +64,10 @@ export default class ClassificationResults extends Vue
6464
6565
@Prop() audio!: AudioBuffer
6666
67-
expanded = false
68-
6967
mounted()
7068
{
7169
$(`.feature`).accordion({collapsible: true, header: '.classification-bar', heightStyle: 'content',
72-
active: this.expanded ? 0 : false, animate: {easing: 'swing', duration: 500}})
70+
active: false, animate: {easing: 'swing', duration: 500}})
7371
}
7472
7573
updateAccordion(feature: FeatureLiteral)

0 commit comments

Comments
 (0)