diff options
| -rw-r--r-- | app/views/javascript/main.phtml | 4 | ||||
| -rw-r--r-- | public/theme/global.css | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml index b3da278bc..9226efe63 100644 --- a/app/views/javascript/main.phtml +++ b/app/views/javascript/main.phtml @@ -163,7 +163,9 @@ function init_posts () { $(".flux:not(.active) .flux_content").hide (); } - $(".flux_header .item.title, .flux_header .item.date").click (function () { + var flux_header_toggle = $(".flux_header .item.title, .flux_header .item.date"); + flux_header_toggle.unbind('click'); // évite d'associer 2 fois le toggle + flux_header_toggle.click (function () { old_active = $(".flux.active"); new_active = $(this).parent ().parent (); diff --git a/public/theme/global.css b/public/theme/global.css index b1fd01436..081d26730 100644 --- a/public/theme/global.css +++ b/public/theme/global.css @@ -188,6 +188,7 @@ input, select, textarea { line-height: 20px; vertical-align: middle; cursor: pointer; + overflow: hidden; } a.btn { min-height: 25px; |
