diff --git a/youmap/templates/base.html b/youmap/templates/base.html index c8aeeb6b..90f3e662 100644 --- a/youmap/templates/base.html +++ b/youmap/templates/base.html @@ -62,7 +62,7 @@ e.preventDefault(); var $this = $(this); $.get($this.attr('href'), function(data) { - return L.Util.chickpea_modal(data.html); + return L.Chickpea.fire('modal_ready', {'data': data}); }, 'json'); });