Skip to content

Commit 2f9d9f5

Browse files
authored
Merge pull request #669 from Automattic/fix/663
Remove redundant jQuery selector #toggle_details
2 parents 2d09ff9 + 254451a commit 2f9d9f5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

modules/story-budget/lib/story-budget.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
// Story Budget specific JS, assumes that ef_date.js has already been included
22

33
jQuery(document).ready(function($) {
4-
// Hide all post details when directed
5-
$("#toggle_details").on( 'click', function() {
6-
$(".post-title > p").toggle('hidden');
7-
});
8-
94
// Make print link open up print dialog
105
$("#print_link").on( 'click', function() {
116
window.print();
127
return false;
138
});
14-
9+
1510
// Hide a single section when directed
1611
$("h3.hndle,div.handlediv").on( 'click', function() {
1712
$(this).parent().children("div.inside").toggle();

0 commit comments

Comments
 (0)