diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-08-03 00:40:34 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-08-03 00:40:34 +0200 |
commit | b8b64ed77285e4d753d35d4ceab0516be597a2f1 (patch) | |
tree | 7cc1a82a5887a9efeb3f9160f98613e65e404ba0 /lib/scripts/behaviour.js | |
parent | af07997c5ff7cc096965159d90158e3710d2d019 (diff) | |
parent | 586da9c1028b1013e8dc47911ba430671a389b5b (diff) | |
download | rpg-b8b64ed77285e4d753d35d4ceab0516be597a2f1.tar.gz rpg-b8b64ed77285e4d753d35d4ceab0516be597a2f1.tar.bz2 |
Merge branch 'master' into configmgr_improvements
Diffstat (limited to 'lib/scripts/behaviour.js')
-rw-r--r-- | lib/scripts/behaviour.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/scripts/behaviour.js b/lib/scripts/behaviour.js index f1c46bf4c..85ddf503e 100644 --- a/lib/scripts/behaviour.js +++ b/lib/scripts/behaviour.js @@ -5,6 +5,7 @@ * @author Adrian Lang <mail@adrianlang.de> */ jQuery.fn.dw_hide = function(fn) { + this.attr('aria-expanded', 'false'); return this.slideUp('fast', fn); }; @@ -15,6 +16,7 @@ jQuery.fn.dw_hide = function(fn) { * @author Adrian Lang <mail@adrianlang.de> */ jQuery.fn.dw_show = function(fn) { + this.attr('aria-expanded', 'true'); return this.slideDown('fast', fn); }; |