Selected label style is changed to bold.

This commit is contained in:
takezoe
2013-07-05 04:20:41 +09:00
parent 9bc8db5a15
commit ef38855b4b

View File

@@ -105,13 +105,15 @@ $(function(){
if($(this).data('selected') == true){
$(this).css({
'background-color': 'white',
'color' : 'black'
'color' : 'black',
'font-weight' : 'normal'
});
$(this).data('selected', false);
} else {
$(this).css({
'background-color': '#' + $(this).data('bgcolor'),
'color' : '#' + $(this).data('fgcolor')
'color' : '#' + $(this).data('fgcolor'),
'font-weight' : 'bold'
});
$(this).data('selected', true);
}