spamfilter UI cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11943 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-10-29 07:19:05 +00:00
parent 0db281fea4
commit 4433e5bed1
7 changed files with 1693 additions and 112 deletions

View file

@ -248,13 +248,12 @@ jQuery(function($){
$('label:not([for])').labelMaker();
// :radio, :checkbox checked class
$.fn.checkToggle = function(){
this.change(function(){
var $this = $(this);
if($this.is(':checked')){
$this.parent('label').addClass('checked');
}
$(':radio, :checkbox').not(':checked').parent('label').removeClass('checked');
});
function check(){
$(':checked').parent('label').addClass('checked');
$(':not(":checked")').parent('label').removeClass('checked');
}
this.change(check);
check();
};
$(':radio, :checkbox').checkToggle();
// File input .overlap style

File diff suppressed because it is too large Load diff