changeset 251 | ac320de33ec7 |
parent 249 | e4204b1a579a |
child 252 | ba4fd614582a |
--- a/cms/app-client/app/services/player.js Thu Aug 04 17:59:38 2016 +0200 +++ b/cms/app-client/app/services/player.js Fri Aug 05 14:55:45 2016 +0200 @@ -11,6 +11,14 @@ progress: 0, // In Milliseconds reduce: false, + display: function(el) { + if(this.get('window') !== el) { + this.set('window', el); + } else { + this.set('window', ''); + } + }, + init: function() { this.on('reset', Ember.run.bind(this, this.get('reset'))); },