=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/interpretationFeed.vm' --- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/interpretationFeed.vm 2013-11-29 14:30:55 +0000 +++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/interpretationFeed.vm 2013-11-29 14:39:56 +0000 @@ -16,7 +16,7 @@ var dropDown = jQuery('.dropDown'); gearDropDown.on('click', function( e ) { - gearDropDown.toggleClass('active'); + gearDropDown.addClass('active'); dropDown.show(); dropDown.offset({ @@ -27,10 +27,9 @@ return false; }); - $(document).on('touchend click', function() { - gearDropDown.toggleClass('active'); - + $(document).on('click', function() { if( dropDown.is(":visible") ) { + gearDropDown.removeClass('active'); dropDown.hide(); } }); @@ -44,6 +43,8 @@ border : 1px solid #eaeaea; padding : 4px 10px; cursor : pointer; + border-top-left-radius : 3px; + border-top-right-radius : 3px; } .gearDropDown.active { @@ -68,6 +69,10 @@ box-shadow : #ccc 0px 1px 1px 0px; } +.dropDown > ul { + margin: 6px 0; +} + .dropDown > ul > li { list-style-type : none; padding : 100;