Changeset 26068
- Timestamp:
- 11/09/2013 09:29:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/comment.js
r21697 r26068 1 /* global postboxes:true, commentL10n:true */ 1 2 jQuery(document).ready( function($) { 2 3 … … 5 6 var stamp = $('#timestamp').html(); 6 7 $('.edit-timestamp').click(function () { 7 if ($('#timestampdiv').is( ":hidden")) {8 $('#timestampdiv').slideDown( "normal");8 if ($('#timestampdiv').is(':hidden')) { 9 $('#timestampdiv').slideDown('normal'); 9 10 $('.edit-timestamp').hide(); 10 11 } … … 13 14 14 15 $('.cancel-timestamp').click(function() { 15 $('#timestampdiv').slideUp( "normal");16 $('#timestampdiv').slideUp('normal'); 16 17 $('#mm').val($('#hidden_mm').val()); 17 18 $('#jj').val($('#hidden_jj').val()); … … 35 36 } 36 37 37 $('#timestampdiv').slideUp( "normal");38 $('#timestampdiv').slideUp('normal'); 38 39 $('.edit-timestamp').show(); 39 40 $('#timestamp').html(
Note: See TracChangeset
for help on using the changeset viewer.