Mercurial > epgrec.yaz
changeset 124:aa48eb5f1993
mod: チャンネルスキップJavaScript修正
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Wed, 17 Mar 2010 01:34:26 +0900 |
parents | 57ca9a15dfad |
children | ef3df87f3c7d |
files | templates/index.html |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/index.html Tue Mar 16 23:37:25 2010 +0900 +++ b/templates/index.html Wed Mar 17 01:34:26 2010 +0900 @@ -137,14 +137,16 @@ var old_skip = $('#ch_title_'+v_hash+' .ch_skip').html(); if( old_skip != v_skip ) { if( v_skip ) { - INISet.num_ch--; + (INISet.num_ch)--; $('#ch_title_'+v_hash ).addClass('ch_title_skip'); - $('#tv_chs_'+v_hash ).addClass('ch_title_skip'); + $('#tv_chs_'+v_hash ).addClass('ch_set_skip'); + $('#ch_title_'+v_hash+' .ch_skip').html('1'); } else { - INISet.num_ch++; + (INISet.num_ch)++; $('#ch_title_'+v_hash ).removeClass('ch_title_skip'); - $('#tv_chs_'+v_hash ).removeClass('ch_title_skip'); + $('#tv_chs_'+v_hash ).removeClass('ch_set_skip'); + $('#ch_title_'+v_hash+' .ch_skip').html('0'); } } }