aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default/js
diff options
context:
space:
mode:
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);