Make label reflect functionality
This commit is contained in:
parent
95369adff3
commit
ee5e5cdf31
@ -229,7 +229,7 @@
|
||||
'Header auto-hide': false,
|
||||
'Bottom Header': false,
|
||||
'Header catalog links': false,
|
||||
'Bottom Board List': false,
|
||||
'Bottom Board List': true,
|
||||
'Custom Board Navigation': true
|
||||
},
|
||||
boardnav: '[ toggle-all ] [current-title]',
|
||||
@ -4901,7 +4901,7 @@
|
||||
innerHTML: '<input type=checkbox name="Custom Board Navigation"> Custom board navigation'
|
||||
});
|
||||
footerToggler = $.el('label', {
|
||||
innerHTML: "<input type=checkbox " + (!Conf['Bottom Board List'] ? 'checked' : '') + "> Bottom original board list"
|
||||
innerHTML: "<input type=checkbox " + (!Conf['Bottom Board List'] ? 'checked' : '') + "> Hide bottom board list"
|
||||
});
|
||||
editCustomNav = $.el('a', {
|
||||
textContent: 'Edit custom board navigation',
|
||||
@ -4974,8 +4974,7 @@
|
||||
if (g.VIEW === 'catalog') {
|
||||
_this.addShortcut(cs);
|
||||
}
|
||||
Header.setFooterVisibility(Conf['Footer auto-hide']);
|
||||
$.sync('Footer auto-hide', Header.setFooterVisibility);
|
||||
Header.setFooterVisibility(Conf['Bottom Board List']);
|
||||
return $.sync('Bottom Board List', Header.setFooterVisibility);
|
||||
});
|
||||
},
|
||||
|
||||
@ -230,7 +230,7 @@
|
||||
'Header auto-hide': false,
|
||||
'Bottom Header': false,
|
||||
'Header catalog links': false,
|
||||
'Bottom Board List': false,
|
||||
'Bottom Board List': true,
|
||||
'Custom Board Navigation': true
|
||||
},
|
||||
boardnav: '[ toggle-all ] [current-title]',
|
||||
@ -4897,7 +4897,7 @@
|
||||
innerHTML: '<input type=checkbox name="Custom Board Navigation"> Custom board navigation'
|
||||
});
|
||||
footerToggler = $.el('label', {
|
||||
innerHTML: "<input type=checkbox " + (!Conf['Bottom Board List'] ? 'checked' : '') + "> Bottom original board list"
|
||||
innerHTML: "<input type=checkbox " + (!Conf['Bottom Board List'] ? 'checked' : '') + "> Hide bottom board list"
|
||||
});
|
||||
editCustomNav = $.el('a', {
|
||||
textContent: 'Edit custom board navigation',
|
||||
@ -4970,8 +4970,7 @@
|
||||
if (g.VIEW === 'catalog') {
|
||||
_this.addShortcut(cs);
|
||||
}
|
||||
Header.setFooterVisibility(Conf['Footer auto-hide']);
|
||||
$.sync('Footer auto-hide', Header.setFooterVisibility);
|
||||
Header.setFooterVisibility(Conf['Bottom Board List']);
|
||||
return $.sync('Bottom Board List', Header.setFooterVisibility);
|
||||
});
|
||||
},
|
||||
|
||||
@ -127,7 +127,7 @@
|
||||
'Header auto-hide': false,
|
||||
'Bottom Header': false,
|
||||
'Header catalog links': false,
|
||||
'Bottom Board List': false,
|
||||
'Bottom Board List': true,
|
||||
'Custom Board Navigation': true
|
||||
},
|
||||
boardnav: '[ toggle-all ] [current-title]',
|
||||
@ -4761,7 +4761,7 @@
|
||||
innerHTML: '<input type=checkbox name="Custom Board Navigation"> Custom board navigation'
|
||||
});
|
||||
footerToggler = $.el('label', {
|
||||
innerHTML: "<input type=checkbox " + (!Conf['Bottom Board List'] ? 'checked' : '') + "> Bottom original board list"
|
||||
innerHTML: "<input type=checkbox " + (!Conf['Bottom Board List'] ? 'checked' : '') + "> Hide bottom board list"
|
||||
});
|
||||
editCustomNav = $.el('a', {
|
||||
textContent: 'Edit custom board navigation',
|
||||
@ -4834,8 +4834,7 @@
|
||||
if (g.VIEW === 'catalog') {
|
||||
_this.addShortcut(cs);
|
||||
}
|
||||
Header.setFooterVisibility(Conf['Footer auto-hide']);
|
||||
$.sync('Footer auto-hide', Header.setFooterVisibility);
|
||||
Header.setFooterVisibility(Conf['Bottom Board List']);
|
||||
return $.sync('Bottom Board List', Header.setFooterVisibility);
|
||||
});
|
||||
},
|
||||
|
||||
@ -412,7 +412,7 @@ http://iqdb.org/?url=%TURL
|
||||
'Header auto-hide': false
|
||||
'Bottom Header': false
|
||||
'Header catalog links': false
|
||||
'Bottom Board List': false
|
||||
'Bottom Board List': true
|
||||
'Custom Board Navigation': true
|
||||
|
||||
boardnav: '[ toggle-all ] [current-title]'
|
||||
|
||||
@ -14,7 +14,7 @@ Header =
|
||||
customNavToggler = $.el 'label',
|
||||
innerHTML: '<input type=checkbox name="Custom Board Navigation"> Custom board navigation'
|
||||
footerToggler = $.el 'label',
|
||||
innerHTML: "<input type=checkbox #{unless Conf['Bottom Board List'] then 'checked' else ''}> Bottom original board list"
|
||||
innerHTML: "<input type=checkbox #{unless Conf['Bottom Board List'] then 'checked' else ''}> Hide bottom board list"
|
||||
editCustomNav = $.el 'a',
|
||||
textContent: 'Edit custom board navigation'
|
||||
href: 'javascript:;'
|
||||
@ -77,8 +77,7 @@ Header =
|
||||
cs.textContent = 'Catalog Settings'
|
||||
@addShortcut cs if g.VIEW is 'catalog'
|
||||
|
||||
Header.setFooterVisibility Conf['Footer auto-hide']
|
||||
$.sync 'Footer auto-hide', Header.setFooterVisibility
|
||||
Header.setFooterVisibility Conf['Bottom Board List']
|
||||
$.sync 'Bottom Board List', Header.setFooterVisibility
|
||||
|
||||
bar: $.el 'div',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user