Deselection of selected team was not possible

Core WP jquery upgrade was causing this
This commit is contained in:
savvasha
2021-09-17 16:58:48 +03:00
committed by GitHub
parent c60d6072db
commit 35f4da95e7

View File

@@ -40,7 +40,7 @@ jQuery(document).ready(function($){
// Radio input toggle
$(".sp-radio-toggle").click(function() {
if($(this).data("sp-checked")) {
$(this).attr("checked", false );
$(this).prop("checked", false );
$(this).data("sp-checked", false );
} else {
$(this).data("sp-checked", true );