minor improvement
fixed info-section = False updated copyright notice
This commit is contained in:
parent
0792372c9d
commit
e18df47162
@ -458,13 +458,13 @@
|
|||||||
<br>
|
<br>
|
||||||
<button class="ts primary button" onClick="generate()">Generate</button>
|
<button class="ts primary button" onClick="generate()">Generate</button>
|
||||||
<br><br>
|
<br><br>
|
||||||
<kbd>Developed by Toby Chui for Inky-Calendar Project, modified by aceisace. Licensed under MIT</kbd>
|
<kbd>Developed by Toby Chui for Inkycal Project, modified by aceisace. Licensed under MIT</kbd>
|
||||||
<details class="ts accordion">
|
<details class="ts accordion">
|
||||||
<summary>
|
<summary>
|
||||||
<i class="dropdown icon"></i> MIT License
|
<i class="dropdown icon"></i> MIT License
|
||||||
</summary>
|
</summary>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>Copyright 2019 Toby Chui <br>
|
<p>Copyright 2019-2020 Toby Chui <br>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
||||||
documentation files (the "Software"), to deal in the Software without restriction, including without
|
documentation files (the "Software"), to deal in the Software without restriction, including without
|
||||||
@ -498,12 +498,12 @@
|
|||||||
function generate() {
|
function generate() {
|
||||||
var ical_urls = $("#ical_urls").val().trim().split(' ').join('').split(',');
|
var ical_urls = $("#ical_urls").val().trim().split(' ').join('').split(',');
|
||||||
if (ical_urls == "") {
|
if (ical_urls == "") {
|
||||||
ical_urls = $("#ical_urls").attr("placeholder");
|
ical_urls = $("#ical_urls").attr("placeholder").split(' ').join('').split(',');
|
||||||
}
|
}
|
||||||
|
|
||||||
var rss_urls = $("#rss_urls").val().trim().split(' ').join('').split(',');
|
var rss_urls = $("#rss_urls").val().trim().split(' ').join('').split(',');
|
||||||
if (rss_urls == "") {
|
if (rss_urls == "") {
|
||||||
rss_urls = $("#rss_urls").attr("placeholder");
|
rss_urls = $("#rss_urls").attr("placeholder").split(' ').join('').split(',');
|
||||||
}
|
}
|
||||||
|
|
||||||
var update_interval = "60";
|
var update_interval = "60";
|
||||||
@ -627,7 +627,7 @@
|
|||||||
|
|
||||||
var info_section = true;
|
var info_section = true;
|
||||||
if ($('#info_no').is(':checked')) {
|
if ($('#info_no').is(':checked')) {
|
||||||
info_section = False;
|
info_section = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var hours = 24;
|
var hours = 24;
|
||||||
|
Loading…
Reference in New Issue
Block a user