use . syntax instead of [] syntax when calling show / hide

This commit is contained in:
Stig Lindqvist 2014-03-07 14:49:39 +13:00
parent 9317dbaa8c
commit 66db82e1b1

View File

@ -40,19 +40,16 @@ jQuery(function($) {
}, },
_custom: function() { _custom: function() {
$('.custom-settings')['show'](); $('.custom-settings').show();
$('#ROContentOwners')['hide'](); $('.inherited-settings').hide();
$('#RONextReviewDate')['hide']();
}, },
_inherited: function() { _inherited: function() {
$('.custom-settings')['hide'](); $('.inherited-settings').show();
$('#ROContentOwners')['show'](); $('.custom-settings').hide();
$('#RONextReviewDate')['show']();
}, },
_disabled: function() { _disabled: function() {
$('.custom-settings')['hide'](); $('.inherited-settings').hide();
$('#ROContentOwners')['hide'](); $('.custom-settings').hide();
$('#RONextReviewDate')['hide']();
} }
}); });