Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from julien-c/patch-1

Dollar shortcut for jQuery. Feel free to ignore, but I think it's much m...
  • Loading branch information...
commit 5d6fb54c924c39b2636f7a0ae97afa6118979dd4 2 parents c588fa0 + 3ad7465
@chrisguitarguy authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 js/apd.js
View
12 js/apd.js
@@ -1,10 +1,10 @@
-jQuery(document).ready(function(){
- jQuery('li.all a').removeClass('current').find('span.count').html('(' + cd_apd.count + ')');
- jQuery('.wp-list-table.plugins tr').each(function(){
- var is_active = jQuery(this).find('a.cd-apd-deactivate');
+jQuery(document).ready(function($){
+ $('li.all a').removeClass('current').find('span.count').html('(' + cd_apd.count + ')');
+ $('.wp-list-table.plugins tr').each(function(){
+ var is_active = $(this).find('a.cd-apd-deactivate');
if(is_active.length) {
- jQuery(this).removeClass('inactive').addClass('active');
- jQuery(this).find('div.plugin-version-author-uri').removeClass('inactive').addClass('active');
+ $(this).removeClass('inactive').addClass('active');
+ $(this).find('div.plugin-version-author-uri').removeClass('inactive').addClass('active');
}
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.