Changeset 7075 for trunk/wp-admin/js/edit-comments.js
- Timestamp:
- 02/27/2008 11:36:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/edit-comments.js
r7050 r7075 3 3 4 4 var dimAfter = function( r, settings ) { 5 $(' span.comment-count').each( function() {5 $('li span.comment-count').each( function() { 6 6 var a = $(this); 7 7 var n = parseInt(a.html(),10) + ( $('#' + settings.element).is('.' + settings.dimClass) ? 1 : -1 ); … … 9 9 }); 10 10 // we need to do the opposite for this guy, TODO: update title 11 $('.post-com-count ').each( function() {11 $('.post-com-count span.comment-count').each( function() { 12 12 var a = $(this); 13 13 var n = parseInt(a.html(),10) + ( $('#' + settings.element).is('.' + settings.dimClass) ? -1 : 1 );
Note: See TracChangeset
for help on using the changeset viewer.