changeset 192 | e1435b37301a |
parent 190 | 226ae8f2e8e9 |
child 193 | 64afd482ac71 |
--- a/cms/app-client/app/controllers/application.js Wed Jun 15 09:50:56 2016 +0200 +++ b/cms/app-client/app/controllers/application.js Wed Jun 15 11:10:20 2016 +0200 @@ -33,7 +33,7 @@ if (this.get('currentId') === null){ return null; } - Ember.$("#"+this.get('currentId').replace( /(:|\.|\[|\]|,)/g, "\\$1" )).toggleClass("playing", true); + Ember.$("div[id='" + this.get('currentId') + "']").toggleClass("playing", true); return this.store.findRecord('document', this.get('currentId')); }),