Skip to content

Commit

Permalink
reduce keys
Browse files Browse the repository at this point in the history
  • Loading branch information
strukturart committed Aug 22, 2023
1 parent ad48e32 commit 6b66146
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions application/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1551,11 +1551,11 @@ var page_events = {
//date
if (item.dateStart != item.dateEnd && !item.allDay) {
de =
dayjs(item.dateStart).format(settings.dateformat) +
dayjs.unix(item.dateStartUnix).format(settings.dateformat) +
" - " +
dayjs(item.dateEnd).format(settings.dateformat);
dayjs.unix(item.dateEndUnix).format(settings.dateformat);
} else {
de = dayjs(item.dateStart).format(settings.dateformat);
de = dayjs.unix(item.dateStartUnix).format(settings.dateformat);
}

let u = item.isSubscription ? "subscription" : "";
Expand Down Expand Up @@ -4661,6 +4661,8 @@ function shortpress_action(param) {
break;

case "0":
if (document.activeElement.tagName == "INPUT") return false;

m.route.set("/page_events_filtered", { query: settings.eventsfilter });
break;
}
Expand Down

0 comments on commit 6b66146

Please sign in to comment.