forked from lino/radar-wp
Fixes and updates to not break 5.9
This commit is contained in:
parent
a34db48a4b
commit
7083316af1
2 changed files with 35 additions and 38 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue