diff --git a/prive/squelettes/inclure/portfolio-documents.html b/prive/squelettes/inclure/portfolio-documents.html
index c33ff07c9024be56772cff20014dd5c76cbafb79..1dcd7cd6110923454fe9bd153fbb3fb832eaf3a6 100644
--- a/prive/squelettes/inclure/portfolio-documents.html
+++ b/prive/squelettes/inclure/portfolio-documents.html
@@ -53,13 +53,13 @@ var multifile='[(#CHEMIN{javascript/jquery.multifile.js}|texte_script)]';
 if (window.jQuery) jQuery('#navigation .box.info').ajaxReload();]
 function check_reload_page(){
 	var reload = false;
-	if($('#illustrations').length && !$('#illustrations .item.document').length){
+	if($('#illustrations').length && !$('#illustrations .item').length){
 		$('#illustrations').remove();reload = true;
 	}
-	if($('#portfolio').length && !$('#portfolio .item.document').length){
+	if($('#portfolio').length && !$('#portfolio .item').length){
 		$('#portfolio').remove();reload = true;
 	}
-	if($('#documents').length && !$('#documents .item.document').length){
+	if($('#documents').length && !$('#documents .item').length){
 		$('#documents').remove();reload = true;
 	}
 	if (reload) {