diff --git a/youmap/templates/base.html b/youmap/templates/base.html index a0031ec4..0c1514fe 100644 --- a/youmap/templates/base.html +++ b/youmap/templates/base.html @@ -63,9 +63,7 @@ $('a.reveal').click(function(e) { e.preventDefault(); var $this = $(this); - $.get($this.attr('href'), function(data) { - return L.Chickpea.fire('modal_ready', {'data': data}); - }, 'json'); + L.Util.Xhr.get($this.attr('href')); }); {% endblock %}