浏览代码

correction ouverture liens dans nouvel onglet

Marien Fressinaud 13 年之前
父节点
当前提交
6dfab0b1dc
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      app/views/javascript/main.phtml

+ 1 - 3
app/views/javascript/main.phtml

@@ -132,9 +132,7 @@ $(document).ready (function () {
 	});
 	
 	$(".post.flux .content a").click (function () {
-		url = $(this).attr ("href");
-		redirect (url, true);
-		return false;
+		$(this).attr ('target', '_blank');
 	});
 
 	// Touches de manipulation