------------------------------------------------------------
revno: 17985
committer: Lars Helge Overland <[email protected]>
branch nick: dhis2
timestamp: Wed 2015-01-14 13:56:04 +0100
message:
Minor
modified:
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== 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;
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp