mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-21 12:48:28 +00:00
awesomeTheme: disable Awesomness with a toggle if you hate fun
This commit is contained in:
parent
78b60a72a8
commit
99248dec86
@ -4,7 +4,7 @@ function changeIcon(button, src) {
|
|||||||
|
|
||||||
// load an Awesome theme on an Awesome day
|
// load an Awesome theme on an Awesome day
|
||||||
let date = new Date();
|
let date = new Date();
|
||||||
if (date.getMonth() === 3 && date.getDate() === 1) {
|
if (date.getMonth() === 3 && date.getDate() === 1 && localStorage.getItem("disableChangelog") !== "true") {
|
||||||
let head = document.head;
|
let head = document.head;
|
||||||
|
|
||||||
head.appendChild(document.createElement('link')).rel = 'stylesheet';
|
head.appendChild(document.createElement('link')).rel = 'stylesheet';
|
||||||
|
@ -653,9 +653,10 @@ export default function(obj) {
|
|||||||
'FilenamePreviewAudioAuthor'
|
'FilenamePreviewAudioAuthor'
|
||||||
])}
|
])}
|
||||||
</script>
|
</script>
|
||||||
<script src="cobalt.js"></script>
|
|
||||||
<!--- Awesome theme --->
|
<!--- Awesome theme --->
|
||||||
<script src="aprilFools/awesomeTheme.js"></script>
|
<script src="aprilFools/awesomeTheme.js"></script>
|
||||||
|
<!--- Awesome theme --->
|
||||||
|
<script src="cobalt.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user