aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/account
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 19:48:05 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 19:48:05 +0000
commita13b91d36ac72f0045a03402dc7040a226102ff5 (patch)
tree3ca3c2e4917926351a3f724d3eada836aa674f51 /views/default/core/account
parent6b41bd72667ce810257a6ed35f090d3c702fb59e (diff)
downloadelgg-a13b91d36ac72f0045a03402dc7040a226102ff5.tar.gz
elgg-a13b91d36ac72f0045a03402dc7040a226102ff5.tar.bz2
Fixes #3032: toggler pattern is now <a href="#target" class="elgg-toggler">...</a> Wow, so much nicer.
git-svn-id: http://code.elgg.org/elgg/trunk@8538 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/core/account')
-rw-r--r--views/default/core/account/login_dropdown.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/default/core/account/login_dropdown.php b/views/default/core/account/login_dropdown.php
index 06a9a15fb..3c62a5448 100644
--- a/views/default/core/account/login_dropdown.php
+++ b/views/default/core/account/login_dropdown.php
@@ -21,8 +21,10 @@ $body = elgg_view_form('login', array('action' => "{$login_url}action/login"), a
echo elgg_view('output/url', array(
'href' => 'pg/login',
'text' => elgg_echo('login'),
- 'class' => "elgg-button elgg-button-dropdown elgg-toggler elgg-toggles-login-dropdown-box",
));
echo elgg_view_module('dropdown', '', $body, array('id' => 'login-dropdown-box'));
?>
-</div> \ No newline at end of file
+</div>
+<script>
+ $('#login-dropdown > a').attr('href', '#login-dropdown-box').addClass('elgg-toggler elgg-button elgg-button-dropdown');
+</script> \ No newline at end of file