layoutswitscher und themeswitcher getauscht

This commit is contained in:
Manuel Friedli 2013-11-26 13:38:04 +01:00
parent a2b4fbe2e4
commit cca45e59e7

View file

@ -42,12 +42,12 @@
<script type="text/javascript">
var uhr = new Uhr($('#renderarea'), $('#theme'));
$(document).ready(function() {
$('#layoutswitcher').on('change', function() {
uhr.setLayout(this.value);
});
$('#themeswitcher').on('change', function() {
uhr.setTheme(this.value);
});
$('#layoutswitcher').on('change', function() {
uhr.setLayout(this.value);
});
$.cookie.defaults.expires = 365;
$.cookie.defaults.path = '/';
var theme = $.cookie('theme');