layouts global registrieren, nicht pro uhr
This commit is contained in:
parent
1c06b7248a
commit
2fa23c2f07
5 changed files with 17 additions and 16 deletions
|
@ -59,13 +59,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
var theme = $.cookie('theme');
|
||||
var layout = $.cookie('layout');
|
||||
var status = $.cookie('status');
|
||||
if (theme == undefined) {
|
||||
if (theme === undefined || theme == 'undefined') {
|
||||
theme = 'black';
|
||||
}
|
||||
if(layout == undefined) {
|
||||
if(layout === undefined || layout == 'undefined') {
|
||||
layout = 'de_CH';
|
||||
}
|
||||
if (status == undefined) {
|
||||
if (status === undefined || status == 'undefined') {
|
||||
status = 'on';
|
||||
}
|
||||
$('#themeswitcher').val(theme);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue