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