--- /dev/null
+$(function() {
+ $('.funding .close').click(function(e) {\r
+ e.preventDefault();
+ var fundNode = $(e.target).parent();\r
+ fundNode.slideUp(function(){fundingHandle.show()});
+ if(Modernizr.localstorage)
+ localStorage['hide-offer-id'] = fundNode.attr('data-offer-id');\r
+ });
+
+ var fundingTopHeader = $('#funding-closeable');
+ var fundingHandle = $('#funding-handle');
+ fundingHandle.click(function(e) {
+ fundingTopHeader.slideDown();
+ $(e.target).hide();
+ if(Modernizr.localstorage)
+ localStorage.removeItem('hide-offer-id');
+ });\r
+});
\ No newline at end of file