Petit formatage

This commit is contained in:
Michael RICOIS 2012-02-29 11:03:09 +00:00
parent b76b0c3103
commit d4736e0cc8

View File

@ -4,9 +4,7 @@ $(document).ready(function(){
var texte = $(this).parent().find('span').html();
if (texte!=''){
$(this).qtip( {
content: {
text: texte
},
content: { text: texte },
solo: true,
style: {
width: 400,
@ -21,12 +19,7 @@ $(document).ready(function(){
});
} else {
$(this).qtip({
content: {
text: "Chargement...",
ajax: {
url: $(this).attr('href')+'/q/ajax'
}
},
content: { text: "Chargement...", ajax: { url: $(this).attr('href')+'/q/ajax' } },
solo: true,
style: {
width: 400,