fixed error

pull/1/head
LianaHus 6 years ago
parent 6114452245
commit c6c4f17cfa
  1. 2
      src/app/ui/card.js

@ -34,10 +34,12 @@ module.exports = class Card {
function trigger (el) { function trigger (el) {
var body = self._view.cardBody var body = self._view.cardBody
var status = self._view.statusBar var status = self._view.statusBar
if (el.classList) {
el.classList.toggle('fa-angle-up') el.classList.toggle('fa-angle-up')
var arrow = el.classList.toggle('fa-angle-down') ? 'up' : 'down' var arrow = el.classList.toggle('fa-angle-down') ? 'up' : 'down'
self.event.trigger('expandCollapseCard', [arrow, body, status]) self.event.trigger('expandCollapseCard', [arrow, body, status])
} }
}
// HTML // HTML
self._view.el = yo` self._view.el = yo`

Loading…
Cancel
Save