summaryrefslogtreecommitdiffstats
path: root/wp-admin/js/comment.js
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/js/comment.js')
-rw-r--r--wp-admin/js/comment.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/wp-admin/js/comment.js b/wp-admin/js/comment.js
new file mode 100644
index 0000000..bde9b97
--- /dev/null
+++ b/wp-admin/js/comment.js
@@ -0,0 +1,12 @@
+addLoadEvent( function() {
+ add_postbox_toggles('comment');
+
+ jQuery('.edit-timestamp').click(function () {
+ if (jQuery('#timestampdiv').is(":hidden")) {
+ jQuery('#timestampdiv').slideDown("normal");
+ } else {
+ jQuery('#timestampdiv').hide();
+ }
+ return false;
+ });
+}); \ No newline at end of file