Explorar o código

correction ouverture liens dans nouvel onglet

Marien Fressinaud %!s(int64=13) %!d(string=hai) anos
pai
achega
6dfab0b1dc
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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