fixed numeric padding on auto formatted values

This commit is contained in:
Techywarrior 2013-04-30 09:37:02 -07:00
parent 3dc52fabbc
commit 10a3606e2f
2 changed files with 4 additions and 4 deletions

View File

@ -424,13 +424,13 @@
html += '<li><span class="mediaInfoLabel">Aspect Ratio</span> ' + stream.AspectRatio + '</li>';
}
if (stream.BitRate) {
html += '<li><span class="mediaInfoLabel">Bitrate</span> <span class="autoNumeric" data-m-round="D">' + stream.BitRate + '</span></li>';
html += '<li><span class="mediaInfoLabel">Bitrate</span> <span class="autoNumeric" data-a-pad="false">' + stream.BitRate + '</span></li>';
}
if (stream.Channels) {
html += '<li><span class="mediaInfoLabel">Channels</span> ' + stream.Channels + '</li>';
}
if (stream.SampleRate) {
html += '<li><span class="mediaInfoLabel">Sample Rate</span> <span class="autoNumeric" data-m-round="D">' + stream.SampleRate + '</span></li>';
html += '<li><span class="mediaInfoLabel">Sample Rate</span> <span class="autoNumeric" data-a-pad="false">' + stream.SampleRate + '</span></li>';
}
var framerate = stream.AverageFrameRate || stream.RealFrameRate;

View File

@ -1282,7 +1282,7 @@
renderBudget: function (elem, item) {
if (item.Budget) {
elem.show().html('Budget:&nbsp;&nbsp;$<span class="autoNumeric">' + item.Budget + '</span>');
elem.show().html('Budget:&nbsp;&nbsp;$<span class="autoNumeric" data-a-pad="false">' + item.Budget + '</span>');
} else {
elem.hide();
}
@ -1290,7 +1290,7 @@
renderRevenue: function (elem, item) {
if (item.Revenue) {
elem.show().html('Revenue:&nbsp;&nbsp;$<span class="autoNumeric">' + item.Revenue + '</span>');
elem.show().html('Revenue:&nbsp;&nbsp;$<span class="autoNumeric" data-a-pad="false">' + item.Revenue + '</span>');
} else {
elem.hide();
}