Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions modules/story-budget/lib/story-budget.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
// Story Budget specific JS, assumes that ef_date.js has already been included

jQuery(document).ready(function($) {
// Hide all post details when directed
$("#toggle_details").on( 'click', function() {
$(".post-title > p").toggle('hidden');
});

// Make print link open up print dialog
$("#print_link").on( 'click', function() {
window.print();
return false;
});

// Hide a single section when directed
$("h3.hndle,div.handlediv").on( 'click', function() {
$(this).parent().children("div.inside").toggle();
Expand Down