fixed total css weight per page

This commit is contained in:
Peter Hedenskog 2013-05-04 22:50:45 +02:00
parent 94a475a116
commit ee71ed3b45
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@
#set($totalImagePageSize = $math.add($totalImagePageSize,$math.toDouble($math.roundTo(3,$math.div($asset.getChild("size").getValue(),1000)))))
#elseif ($asset.getChild("type").getValue() == "css")
$statsCssWeight.addValue($math.toDouble($math.roundTo(3,$math.div($asset.getChild("size").getValue(),1000))))
#set($totalCssPageSize = $math.add($totalImageCssSize,$math.toDouble($math.roundTo(3,$math.div($asset.getChild("size").getValue(),1000)))))
#set($totalCssPageSize = $math.add($totalCssPageSize,$math.toDouble($math.roundTo(3,$math.div($asset.getChild("size").getValue(),1000)))))
#elseif ($asset.getChild("type").getValue() == "js")
$statsJsWeight.addValue($math.toDouble($math.roundTo(3,$math.div($asset.getChild("size").getValue(),1000))))
#set($totalJsPageSize = $math.add($totalJsPageSize,$math.toDouble($math.roundTo(3,$math.div($asset.getChild("size").getValue(),1000)))))