From 85f5f5229fccf26077a04bbdaa2f71aaf4a81c10 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 21 Apr 2006 08:17:05 +0000 Subject: [PATCH] Add file. fixes #2677 git-svn-id: http://svn.automattic.com/wordpress/trunk@3736 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 wp-admin/edit-comments.js diff --git a/wp-admin/edit-comments.js b/wp-admin/edit-comments.js new file mode 100644 index 0000000000..193dd48c21 --- /dev/null +++ b/wp-admin/edit-comments.js @@ -0,0 +1,5 @@ +addLoadEvent(function() {theList.dimComplete = function(what,id,dimClass) { + var m = document.getElementById('awaitmod'); + if ( document.getElementById(what + '-' + id).className.match(dimClass) ) m.innerHTML = parseInt(m.innerHTML,10) + 1; + else m.innerHTML = parseInt(m.innerHTML,10) - 1; +}});