equal
deleted
inserted
replaced
32 Ember.$(".result-item").toggleClass("playing", false); |
32 Ember.$(".result-item").toggleClass("playing", false); |
33 if (this.get('currentId') === null){ |
33 if (this.get('currentId') === null){ |
34 return null; |
34 return null; |
35 } |
35 } |
36 Ember.$("div[id='" + this.get('currentId') + "']").toggleClass("playing", true); |
36 Ember.$("div[id='" + this.get('currentId') + "']").toggleClass("playing", true); |
37 return this.store.findRecord('document', this.get('currentId'); |
37 return this.store.findRecord('document', this.get('currentId')); |
38 }), |
38 }), |
39 |
39 |
40 modalItem: Ember.computed('detail', function() { |
40 modalItem: Ember.computed('detail', function() { |
41 return this.store.findRecord('document', this.get('detail')); |
41 return this.store.findRecord('document', this.get('detail')); |
42 }), |
42 }), |