MediaWiki:BibleGet.js: differenze tra le versioni

nessun oggetto della modifica
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 125: Riga 125:
if(excessWidth > 0 && excessWidth < rect.x){
if(excessWidth > 0 && excessWidth < rect.x){
console.log('This element was off the right hand side of the screen');
console.log('This element was off the right hand side of the screen');
let newLeft = left - excessWidth;
//let newLeft = left - excessWidth;
let newLeft = $span.offset().left - rect.width;
$bGetTIP.css({"left":newLeft});
$bGetTIP.css({"left":newLeft});
}
}