69b9ca6d by Jeremy Groot

fix to favourite

1 parent ad3d16f6
......@@ -22978,8 +22978,9 @@
}
}
});
$('.favourite').on('click', function (e) {
$(document).on('click', '.favourite', function (e) {
e.preventDefault();
console.log("PREVENTED DEFAULT?");
if ($(this).attr('disabled')) {
return;
}
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -75,8 +75,9 @@ jQuery(document).ready(function($) {
}
});
$('.favourite').on('click', function(e) {
$(document).on('click', '.favourite', function(e) {
e.preventDefault();
console.log("PREVENTED DEFAULT?");
if($(this).attr('disabled')) {
return;
}
......