From 66db82e1b15d1dc92310aac63e7f3bc58e2ffef8 Mon Sep 17 00:00:00 2001 From: Stig Lindqvist Date: Fri, 7 Mar 2014 14:49:39 +1300 Subject: [PATCH] use . syntax instead of [] syntax when calling show / hide --- javascript/contentreview.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/javascript/contentreview.js b/javascript/contentreview.js index a7eab90..da0646a 100644 --- a/javascript/contentreview.js +++ b/javascript/contentreview.js @@ -40,19 +40,16 @@ jQuery(function($) { }, _custom: function() { - $('.custom-settings')['show'](); - $('#ROContentOwners')['hide'](); - $('#RONextReviewDate')['hide'](); + $('.custom-settings').show(); + $('.inherited-settings').hide(); }, _inherited: function() { - $('.custom-settings')['hide'](); - $('#ROContentOwners')['show'](); - $('#RONextReviewDate')['show'](); + $('.inherited-settings').show(); + $('.custom-settings').hide(); }, _disabled: function() { - $('.custom-settings')['hide'](); - $('#ROContentOwners')['hide'](); - $('#RONextReviewDate')['hide'](); + $('.inherited-settings').hide(); + $('.custom-settings').hide(); } });