layoutswitscher und themeswitcher getauscht
This commit is contained in:
parent
a2b4fbe2e4
commit
cca45e59e7
1 changed files with 3 additions and 3 deletions
|
@ -42,12 +42,12 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var uhr = new Uhr($('#renderarea'), $('#theme'));
|
var uhr = new Uhr($('#renderarea'), $('#theme'));
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#layoutswitcher').on('change', function() {
|
|
||||||
uhr.setLayout(this.value);
|
|
||||||
});
|
|
||||||
$('#themeswitcher').on('change', function() {
|
$('#themeswitcher').on('change', function() {
|
||||||
uhr.setTheme(this.value);
|
uhr.setTheme(this.value);
|
||||||
});
|
});
|
||||||
|
$('#layoutswitcher').on('change', function() {
|
||||||
|
uhr.setLayout(this.value);
|
||||||
|
});
|
||||||
$.cookie.defaults.expires = 365;
|
$.cookie.defaults.expires = 365;
|
||||||
$.cookie.defaults.path = '/';
|
$.cookie.defaults.path = '/';
|
||||||
var theme = $.cookie('theme');
|
var theme = $.cookie('theme');
|
||||||
|
|
Loading…
Reference in a new issue