1
0
Fork 0
forked from lino/radar-wp

Fixes and updates to not break 5.9

This commit is contained in:
ekes 2022-03-24 21:22:19 +01:00
parent a34db48a4b
commit 7083316af1
2 changed files with 35 additions and 38 deletions

View file

@ -7,7 +7,7 @@ jQuery(function($){
type: 'POST',
data: {
action: "squat_radar_events",
instance: window[widget.id],
instance: squat_radar_widget[widget.id],
},
success: function(result){
@ -20,17 +20,6 @@ jQuery(function($){
} else {
$(widget).empty();
$(widget).append(result.html);
// $(".squat-li a").on('click', function(e){
// if (this.hasAttribute("data-link")) {
// e.preventDefault();
// $(this).parent().find('p').show();
// this.textContent = this.getAttribute('data-nog-meer');
// this.setAttribute('href', this.getAttribute('data-link'));
// this.removeAttribute('data-link');
// }
//
// });
}
},
error: function(res){