FIX: Uncaught TypeError: Cannot read property 'className' of null

This commit is contained in:
savvasha
2020-12-19 22:14:58 +02:00
parent 860e0dac1d
commit de00b8ce8f

View File

@@ -503,7 +503,7 @@ jQuery(document).ready(function($){
});
// Trigger event format change
$(".post-type-sp_event #post-formats-select input.post-format").trigger("change");
$(".post-type-sp_event #post-formats-select").trigger("change");
// Calendar layout affects data
$(".post-type-sp_calendar #post-formats-select input.post-format").change(function() {