Remove extraneous listener
This commit is contained in:
@@ -33,9 +33,6 @@
|
|||||||
var MediaView = Backbone.View.extend({
|
var MediaView = Backbone.View.extend({
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
this.$el.attr('controls', '');
|
this.$el.attr('controls', '');
|
||||||
this.$el.on('loadeddata', function() {
|
|
||||||
this.$el.trigger('update');
|
|
||||||
}.bind(this));
|
|
||||||
},
|
},
|
||||||
events: {
|
events: {
|
||||||
'loadeddata': 'update'
|
'loadeddata': 'update'
|
||||||
|
Reference in New Issue
Block a user