MediaWiki:BibleGet.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 36: Line 36:
$bGetTIP = $("div[data-version='"+version+"'][data-ref='"+ref+"']");
$bGetTIP = $("div[data-version='"+version+"'][data-ref='"+ref+"']");
//console.log('I found ' + $bGetTIP.length + ' div(s) at the bottom of the page with this bible quote');
//console.log('I found ' + $bGetTIP.length + ' div(s) at the bottom of the page with this bible quote');
setTimeout(function(){ $bGetTIP.addClass('hidden'); },500);
setTimeout(function(){  
$bGetTIP.addClass('hidden');
$bGetTIP.css({"top":'',"left":''});
},500);
});
});
} else {
} else {
Line 76: Line 79:
$span.on('mouseleave', function(){
$span.on('mouseleave', function(){
setTimeout(function(){ $bGetTIP.addClass('hidden'); },500);
setTimeout(function(){  
$bGetTIP.addClass('hidden');
$bGetTIP.css({"top":'',"left":''});
},500);
});
});
}
}