aboutsummaryrefslogtreecommitdiff
path: root/mod/embed
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-17 18:23:18 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-17 18:23:18 +0000
commitd685d52f04b20539bf692dfc257f8d73a278eb76 (patch)
tree0cda6801b529e69b152085658482683b1ca5733c /mod/embed
parenta2117258cab8fd3888c42493215d49234db361e1 (diff)
downloadelgg-d685d52f04b20539bf692dfc257f8d73a278eb76.tar.gz
elgg-d685d52f04b20539bf692dfc257f8d73a278eb76.tar.bz2
Switching click handler to "live"
git-svn-id: http://code.elgg.org/elgg/trunk@8755 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/embed')
-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);
});