]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
updated the embed plugin for new css class elgg-item rather than elgg-list-item
authorCash Costello <cash.costello@gmail.com>
Wed, 6 Jul 2011 10:44:00 +0000 (06:44 -0400)
committerCash Costello <cash.costello@gmail.com>
Wed, 6 Jul 2011 10:44:00 +0000 (06:44 -0400)
mod/embed/views/default/embed/css.php
mod/embed/views/default/js/embed/embed.php

index 1ce994cfec814701e5d930e21507d25d3aee2f0d..150dc8733a2948d9c9e4f90e6b512c749560cfd9 100644 (file)
@@ -14,7 +14,7 @@
        color: #333333;
        margin-bottom: 10px;
 }
-.embed-wrapper .elgg-list-item {
+.embed-wrapper .elgg-item {
        cursor: pointer;
 }
 
index bf04c0963fe6a4691b324593bb61629119f0a9d4..ea92ba1fd719e876dea966e7490e2cacbdecd02e 100644 (file)
@@ -3,7 +3,7 @@ elgg.provide('elgg.embed');
 elgg.embed.init = function() {
 
        // inserts the embed content into the textarea
-       $(".embed-wrapper .elgg-list-item").live('click', elgg.embed.insert);
+       $(".embed-wrapper .elgg-item").live('click', elgg.embed.insert);
 
        // caches the current textarea id
        $(".embed-control").live('click', function() {