aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default/js
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-01 19:36:27 -0400
committercash <cash.costello@gmail.com>2011-11-01 19:36:27 -0400
commit5c0bd8a19a294f178ddd6607dd3f624ca34fa5b7 (patch)
treebd7fdc64419d657c24dd10e8301d3347064d1fcf /mod/embed/views/default/js
parentdb5cac403c21cc05fa2e34d69c75d1cef583766a (diff)
downloadelgg-5c0bd8a19a294f178ddd6607dd3f624ca34fa5b7.tar.gz
elgg-5c0bd8a19a294f178ddd6607dd3f624ca34fa5b7.tar.bz2
added semi-colons after function expressions
Diffstat (limited to 'mod/embed/views/default/js')
-rw-r--r--mod/embed/views/default/js/embed/embed.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/embed/views/default/js/embed/embed.php b/mod/embed/views/default/js/embed/embed.php
index 3126e12f7..8e543ac37 100644
--- a/mod/embed/views/default/js/embed/embed.php
+++ b/mod/embed/views/default/js/embed/embed.php
@@ -19,7 +19,7 @@ elgg.embed.init = function() {
$('.embed-section').live('click', elgg.embed.forward);
$('.elgg-form-embed').live('submit', elgg.embed.submit);
-}
+};
/**
* Inserts data attached to an embed list item in textarea
@@ -48,7 +48,7 @@ elgg.embed.insert = function(event) {
$.fancybox.close();
event.preventDefault();
-}
+};
/**
* Submit an upload form through Ajax
@@ -85,7 +85,7 @@ elgg.embed.submit = function(event) {
// this was bubbling up the DOM causing a submission
event.preventDefault();
event.stopPropagation();
-}
+};
/**
* Loads content within the lightbox
@@ -96,6 +96,6 @@ elgg.embed.submit = function(event) {
elgg.embed.forward = function(event) {
$('.embed-wrapper').parent().load($(this).attr('href'));
event.preventDefault();
-}
+};
elgg.register_hook_handler('init', 'system', elgg.embed.init);