Use Chickpea event to launch modal
This commit is contained in:
parent
3dd7d96065
commit
6f81cacd64
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
$.get($this.attr('href'), function(data) {
|
$.get($this.attr('href'), function(data) {
|
||||||
return L.Util.chickpea_modal(data.html);
|
return L.Chickpea.fire('modal_ready', {'data': data});
|
||||||
}, 'json');
|
}, 'json');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue