Consistently use event prefix for calendar and list templates
Retain backwards compatibility
This commit is contained in:
@@ -33,20 +33,20 @@
|
||||
}
|
||||
|
||||
/* Events Calendar */
|
||||
.sp-events-calendar tbody td, .sp-events-calendar thead th {
|
||||
.sp-event-calendar tbody td, .sp-event-calendar thead th {
|
||||
text-align: center;
|
||||
}
|
||||
.sp-events-calendar #next {
|
||||
.sp-event-calendar #next {
|
||||
text-align: right;
|
||||
}
|
||||
.sp-events-calendar #prev {
|
||||
.sp-event-calendar #prev {
|
||||
text-align: left;
|
||||
}
|
||||
/* Events List */
|
||||
.sp-events-list .column-article {
|
||||
.sp-event-list .column-article {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.sp-events-list .column-article a .dashicons {
|
||||
.sp-event-list .column-article a .dashicons {
|
||||
padding-right: 3px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -37,8 +37,8 @@ jQuery(document).ready(function($){
|
||||
});
|
||||
|
||||
// Calendar affects view all link checkbox in widget options
|
||||
$("body.widgets-php").on("change", ".sp-events-calendar-select", function() {
|
||||
$el = $(this).closest(".widget-content").find(".sp-events-calendar-show-all-toggle");
|
||||
$("body.widgets-php").on("change", ".sp-event-calendar-select", function() {
|
||||
$el = $(this).closest(".widget-content").find(".sp-event-calendar-show-all-toggle");
|
||||
if($(this).val() == 0)
|
||||
$el.hide();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user