Correction erreur script

This commit is contained in:
Michael RICOIS 2010-06-29 12:10:18 +00:00
parent 7a530a3e50
commit 97175f489c

View File

@ -119,14 +119,15 @@ $(document).ready(function(){
}); });
//Tooltip de domiciliation //Tooltip de domiciliation
$('img.domiciliation').qtip({ if ($('img.domiciliation').length){
content: $('div.domiciliation').html(), $('img.domiciliation').qtip({
style: { name: 'cream', width: 200 }, content: $('div.domiciliation').html(),
position: { style: { name: 'cream', width: 200 },
corner: { target: 'bottomMiddle', position: {
tooltip: 'topMiddle' } } corner: { target: 'bottomMiddle',
}); tooltip: 'topMiddle' } }
});
}
}); });