=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js' --- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js 2015-01-14 12:50:26 +0000 +++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js 2015-01-14 12:56:04 +0000 @@ -405,10 +405,10 @@ dhis2.db.getFullWidth = function() { - var viewportVidth = $( window ).width(), + var viewPortWidth = $( window ).width(), spacing = 33, itemWidth = 408, - items = Math.floor( ( viewportVidth + spacing ) / ( itemWidth + spacing ) ), + items = Math.floor( ( viewPortWidth + spacing ) / ( itemWidth + spacing ) ), fullWidth = ( items * itemWidth ) + ( ( items - 1 ) * spacing ); return fullWidth;