Преглед изворни кода

Merge pull request #460 from aledeg/article-close

Change article observer
Alexandre Alapetite пре 12 година
родитељ
комит
2791684e72
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      p/scripts/main.js

+ 1 - 1
p/scripts/main.js

@@ -606,7 +606,7 @@ function init_shortcuts() {
 }
 }
 
 
 function init_stream(divStream) {
 function init_stream(divStream) {
-	divStream.on('click', '.flux_header,.flux_content > .bottom', function (e) {	//flux_header_toggle, flux_footer_toggle
+	divStream.on('click', '.flux_header,.flux_content', function (e) {	//flux_toggle
 		if ($(e.target).closest('.item.website, .item.link').length > 0) {
 		if ($(e.target).closest('.item.website, .item.link').length > 0) {
 			return;
 			return;
 		}
 		}