aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/embed/views/default/embed/embed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/embed/views/default/embed/embed.php b/mod/embed/views/default/embed/embed.php
index 84b005c8c..06d3f48f1 100644
--- a/mod/embed/views/default/embed/embed.php
+++ b/mod/embed/views/default/embed/embed.php
@@ -129,7 +129,7 @@ $(function() {
var internal_name = '<?php echo addslashes($internal_name); ?>';
// insert embed codes
- $('.embed_data').click(function() {
+ $('.embed_data').live('click', function() {
var embed_code = $(this).data('embed_code')
elggEmbedInsertContent(embed_code, internal_name);
});