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
$('img.domiciliation').qtip({
content: $('div.domiciliation').html(),
style: { name: 'cream', width: 200 },
position: {
corner: { target: 'bottomMiddle',
tooltip: 'topMiddle' } }
});
if ($('img.domiciliation').length){
$('img.domiciliation').qtip({
content: $('div.domiciliation').html(),
style: { name: 'cream', width: 200 },
position: {
corner: { target: 'bottomMiddle',
tooltip: 'topMiddle' } }
});
}
});