aboutsummaryrefslogtreecommitdiff
path: root/js/lib/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/ui.js')
-rw-r--r--js/lib/ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js
index 7abf7626f..57378a4d6 100644
--- a/js/lib/ui.js
+++ b/js/lib/ui.js
@@ -19,6 +19,8 @@ elgg.ui.init = function () {
$('.elgg-requires-confirmation').live('click', elgg.ui.requiresConfirmation);
+ $('.elgg-autofocus').focus();
+
if ($('.elgg-input-date').length) {
elgg.ui.initDatePicker();
}