mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 00:47:53 +00:00
Add more documentation about windows
This commit is contained in:
1 parent
de9cf3a8fe
commit
dbfe3ef757
1 file changed
+8
@@ -86,6 +86,14 @@ You can also set cookie flags by accessing the flag API, eg.
|
||||
|
||||
https://api.jungle.horse/flags/design_refresh/enable
|
||||
|
||||
Or toggle cookies manually, eg.
|
||||
|
||||
```javascript
|
||||
let flagValue=(document.cookie.split(";").find(f => f.includes("refresh")) || "").trim().split("=")[1] === "true"; document.cookie = `refresh=${!flagValue}`; document.location.reload();
|
||||
```
|
||||
|
||||
Where "refresh" is the name of the cookie flag to toggle.
|
||||
|
||||
Fixing common errors
|
||||
--------------------
|
||||
|
||||
|
||||
Reference in new issue
Block a user