소스 검색

Merge pull request #458 from aledeg/bottom-close

Add an observer to close an article when clicking on its footer
Alexandre Alapetite 12 년 전
부모
커밋
8320154f6c
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) {
-	divStream.on('click', '.flux_header', function (e) {	//flux_header_toggle
+	divStream.on('click', '.flux_header,.flux_content > .bottom', function (e) {	//flux_header_toggle, flux_footer_toggle
 		if ($(e.target).closest('.item.website, .item.link').length > 0) {
 			return;
 		}