fix and test the linking to the style switcher
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
@@ -69,10 +69,10 @@ applyStyleFromCookie();
|
||||
{% if not loop.last %} » {% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% if page_styles %}
|
||||
{% if config.PAGE_STYLES %}
|
||||
<div class="styles">
|
||||
{% for style in page_styles %}
|
||||
<a href="#" onclick="setStyle('{{ style }}'); return false;">[{{ style }}]</a>
|
||||
{% for style, stylesheet in config.PAGE_STYLES.items() %}
|
||||
<a href="" onclick="setStyle('{{ style }}'); return false;">[{{ style }}]</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user