Open thebravoman opened 7 years ago
In the code below from js, data.context is undefined and the code does not enter into the if:
progress: function(e, data) { var progress; if (data.context) { progress = parseInt(data.loaded / data.total * 100, 10); return data.context.find('.bar').css('width', progress + '%'); } },
In the code below from js, data.context is undefined and the code does not enter into the if: