Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp into master
This commit is contained in:
commit
1428d88716
|
@ -38,7 +38,7 @@
|
||||||
@else
|
@else
|
||||||
<option name="light" value="light">Light</option>
|
<option name="light" value="light">Light</option>
|
||||||
@endif
|
@endif
|
||||||
@if(request()->cookie('mode') == "light")
|
@if(request()->cookie('mode') == "dark")
|
||||||
<option selected name="darkmode" value="dark">Dark</option>
|
<option selected name="darkmode" value="dark">Dark</option>
|
||||||
@else
|
@else
|
||||||
<option name="dark" value="dark">Dark</option>
|
<option name="dark" value="dark">Dark</option>
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
data: {'darkmode':$darkmodeON},
|
data: {'darkmode':$darkmodeON},
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
console.log($darkmodeON);
|
console.log($darkmodeON);
|
||||||
//location.reload();
|
location.reload();
|
||||||
},
|
},
|
||||||
error:function (data) {
|
error:function (data) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
Loading…
Reference in New Issue