diff options
| author | hukl <contact@smyck.org> | 2009-09-01 14:47:09 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-01 14:47:09 +0200 |
| commit | c15b66569091bc9fe6adc9b6f446dae2e85fee16 (patch) | |
| tree | e8910f5f91920a88e909b2a3c07cd8faa99c5670 /public/javascripts | |
| parent | b78f6e450e25bc7bc749e4cf38ddf977a8805ae5 (diff) | |
slight interface changes
Diffstat (limited to 'public/javascripts')
| -rw-r--r-- | public/javascripts/admin_interface.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/public/javascripts/admin_interface.js b/public/javascripts/admin_interface.js index b0e43e6..ce971a4 100644 --- a/public/javascripts/admin_interface.js +++ b/public/javascripts/admin_interface.js | |||
| @@ -20,10 +20,10 @@ $(document).ready(function () { | |||
| 20 | 20 | ||
| 21 | meta_data = { | 21 | meta_data = { |
| 22 | initialize : function() { | 22 | initialize : function() { |
| 23 | $("#metadata").attr("style", "display: none;"); | 23 | $("#metadata").hide(); |
| 24 | 24 | ||
| 25 | $("#button").click(function () { | 25 | $("#button").click(function () { |
| 26 | $("#metadata").slideToggle("slow"); | 26 | $("#metadata").slideToggle(1200); |
| 27 | 27 | ||
| 28 | if ($("#button").attr("class") == "unselected") { | 28 | if ($("#button").attr("class") == "unselected") { |
| 29 | $("#button").attr("class", "selected"); | 29 | $("#button").attr("class", "selected"); |
| @@ -31,6 +31,8 @@ meta_data = { | |||
| 31 | else { | 31 | else { |
| 32 | $("#button").attr("class", "unselected"); | 32 | $("#button").attr("class", "unselected"); |
| 33 | } | 33 | } |
| 34 | |||
| 35 | return false; | ||
| 34 | }); | 36 | }); |
| 35 | } | 37 | } |
| 36 | }; | 38 | }; |
