Wordpress/wp-admin/edit-comments.js
Ryan Boren b5ea6b11c4 Oops. How did that get in there?
git-svn-id: https://develop.svn.wordpress.org/trunk@3766 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-06 04:43:59 +00:00

6 lines
296 B
JavaScript

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;
}});