Skip to content

Commit c54fd4f

Browse files
committed
fixed metisCart.js. My heart was not beating.
1 parent 623652d commit c54fd4f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/assets/js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function metisChart() {
121121
heart.push([16 * Math.pow(Math.sin(i), 3), 13 * Math.cos(i) - 5 * Math.cos(2 * i) - 2 * Math.cos(3 * i) - Math.cos(4 * i)]);
122122
}
123123
$.plot($("#heart"), [
124-
{data: heart, label: '<i class="fa fa-heart fa-2x"></i>', color: '#9A004D'}
124+
{data: heart, label: '<i class="fa fa-heart"></i>', color: '#9A004D'}
125125
], {
126126
series: {
127127
lines: {show: true, fill: true},
@@ -137,7 +137,7 @@ function metisChart() {
137137
});
138138
$('#heart .legendLabel').addClass('animated pulse');
139139
setInterval(function () {
140-
$('#heart .legendLabel').toggleClass('animated');
140+
$('#heart .legendLabel .fa.fa-heart').toggleClass('fa-2x');
141141
}, 400);
142142

143143

0 commit comments

Comments
 (0)