mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
15 lines
379 B
PHP
Executable File
15 lines
379 B
PHP
Executable File
<script>
|
|
@if ($theme)
|
|
window.localStorage.setItem("__theme:mode__", "{{ $theme }}");
|
|
@endif
|
|
@if ($language)
|
|
window.localStorage.setItem("__language:type__", "{{ $language }}");
|
|
@endif
|
|
@if ($userid)
|
|
window.localStorage.setItem("__user:userid__", "{{ $userid }}");
|
|
@endif
|
|
@if ($token)
|
|
window.localStorage.setItem("__user:token__", "{{ $token }}");
|
|
@endif
|
|
</script>
|