Fixed #174 advanced config page sometimes borked

This commit is contained in:
Anders Betnér 2006-06-25 19:46:05 +00:00
parent 7604863276
commit 05d3f55cb1

View File

@ -181,7 +181,7 @@ var Config ={
});
var div = document.createElement('div');
div.id = ConfigXML.getSectionId(sectionName);
if (ConfigXML.isAdvancedSection(sectionName)) {
if (!Cookie.getVar('show_advanced_config') && ConfigXML.isAdvancedSection(sectionName)) {
div.style.display = 'none';
}
div.appendChild(head);