Sha256: 33b62519894bdea95cf3ce10dbd25dc18202cddd10257248659de854a37bf6a8
Contents?: true
Size: 755 Bytes
Versions: 38
Compression:
Stored size: 755 Bytes
Contents
last_scroll_top = null; function show_sub_report (event_obj) { if (!(event_obj.shiftKey || event_obj.ctrlKey || event_obj.metaKey || event_obj.altKey)) { link_item = $ (event_obj.target); $ ("#report-display-document").attr ("src", link_item.attr ("href")); event_obj.preventDefault (); } } function resize_list (event_obj) { var max_height = window.innerHeight - 15; $ (".coruncopia-report-holder-list-holder").css ("max-height", max_height + "px"); $ ("#report-display-document").css ("max-height", max_height + "px"); } $ (document).ready (function () { $ (document).on ("click", "a.coruncopia-report-link", {}, show_sub_report); $ (window).bind ("resize", {}, resize_list); resize_list (null); } );
Version data entries
38 entries across 38 versions & 1 rubygems