A free, self-hostable news aggregator…
Fix issues #93 et #94
Marien Fressinaud371434c63ace
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtmlindex 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.cssindex 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;