aboutsummaryrefslogtreecommitdiff
path: root/js/lib/ui.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 /js/lib/ui.js
parentdb5cac403c21cc05fa2e34d69c75d1cef583766a (diff)
downloadelgg-5c0bd8a19a294f178ddd6607dd3f624ca34fa5b7.tar.gz
elgg-5c0bd8a19a294f178ddd6607dd3f624ca34fa5b7.tar.bz2
added semi-colons after function expressions
Diffstat (limited to 'js/lib/ui.js')
-rw-r--r--js/lib/ui.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js
index 6cc1bc78a..16ef2dc96 100644
--- a/js/lib/ui.js
+++ b/js/lib/ui.js
@@ -25,7 +25,7 @@ elgg.ui.init = function () {
if ($('.elgg-input-date').length) {
elgg.ui.initDatePicker();
}
-}
+};
/**
* Toggles an element based on clicking a separate element
@@ -43,7 +43,7 @@ elgg.ui.toggles = function(event) {
var target = $(this).toggleClass('elgg-state-active').attr('href');
$(target).slideToggle('medium');
-}
+};
/**
* Pops up an element based on clicking a separate element
@@ -105,7 +105,7 @@ elgg.ui.popsUp = function(event) {
$('body')
.die('click', elgg.ui.popupClose)
.live('click', elgg.ui.popupClose);
-}
+};
/**
* Catches clicks that aren't in a popup and closes all popups.
@@ -143,7 +143,7 @@ elgg.ui.popupClose = function(event) {
$('body').die('click', elgg.ui.popClose);
}
-}
+};
/**
* Toggles a child menu when the parent is clicked
@@ -155,7 +155,7 @@ elgg.ui.toggleMenu = function(event) {
$(this).siblings().slideToggle('medium');
$(this).toggleClass('elgg-menu-closed elgg-menu-opened');
event.preventDefault();
-}
+};
/**
* Initialize the hover menu
@@ -215,7 +215,7 @@ elgg.ui.initHoverMenu = function(parent) {
$(".elgg-menu-hover").fadeOut();
}
});
-}
+};
/**
* Calls a confirm() and prevents default if denied.
@@ -276,7 +276,7 @@ elgg.ui.initDatePicker = function() {
}
}
});
-}
+};
elgg.register_hook_handler('init', 'system', elgg.ui.init);
elgg.register_hook_handler('getOptions', 'ui.popup', elgg.ui.LoginHandler); \ No newline at end of file