aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default/js
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-10-01 14:35:10 -0400
committercash <cash.costello@gmail.com>2011-10-01 14:35:10 -0400
commitf352b05780a1896302d5a25936477b371c0f4dfd (patch)
tree16b6266fb9d435989ad6d33ee9b772e44131d8f2 /mod/embed/views/default/js
parentc7b0817dabd1ea596086b03569d4480355e5f721 (diff)
downloadelgg-f352b05780a1896302d5a25936477b371c0f4dfd.tar.gz
elgg-f352b05780a1896302d5a25936477b371c0f4dfd.tar.bz2
removed unnecessary code
Diffstat (limited to 'mod/embed/views/default/js')
-rw-r--r--mod/embed/views/default/js/embed/embed.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/mod/embed/views/default/js/embed/embed.php b/mod/embed/views/default/js/embed/embed.php
index 49c277b69..e60c6b367 100644
--- a/mod/embed/views/default/js/embed/embed.php
+++ b/mod/embed/views/default/js/embed/embed.php
@@ -1,4 +1,3 @@
-//<script>
elgg.provide('elgg.embed');
elgg.embed.init = function() {
@@ -82,7 +81,7 @@ elgg.embed.submit = function(event) {
}
/**
- * Loads the next chunk of content within the lightbox
+ * Loads content within the lightbox
*
* @param {Object} event
* @return void
@@ -92,15 +91,4 @@ elgg.embed.loadContent = function(event) {
event.preventDefault();
}
-/**
- * Loads an embed tab
- *
- * @param {Object} event
- * @return void
- */
-elgg.embed.loadTab = function(event) {
- $('.embed-wrapper').parent().load($(this).attr('href'));
- event.preventDefault();
-}
-
elgg.register_hook_handler('init', 'system', elgg.embed.init);