remove some logging; fix 'NaN' as Cuts per Minute / Words per Minute (fixes #1196)

This commit is contained in:
rolux 2013-01-30 11:46:44 +05:30
parent b43a6cf647
commit 5c5b54c518
2 changed files with 1 additions and 2 deletions

View file

@ -525,7 +525,7 @@ pandora.ui.infoView = function(data) {
.append(
Ox.Theme.formatColor(null, 'gradient')
.css({textAlign: 'right'})
.html(Ox.formatNumber(data[key], 3))
.html(Ox.formatNumber(value, 3))
)
.appendTo($statistics);
});

View file

@ -25,7 +25,6 @@ pandora.ui.itemClips = function(options) {
self.height = self.options.ratio > 1 ? Math.round(self.size / self.options.ratio) : self.size;
self.options.clips.forEach(function(clip, i) {
Ox.Log('', 'CLIP', clip)
var annotations = clip.annotations.sort(function(a, b) {
var layerA = pandora.site.clipLayers.indexOf(a.layer),
layerB = pandora.site.clipLayers.indexOf(b.layer);