mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00:00
31946c96b3
Fix restore scene exceptions tip over title on displayShow page. Change ajax for a deferred ajax call used for plots tips and scene exception tips. Tweak some tip positions and cleanup calls to be more uniform.
26 lines
550 B
JavaScript
26 lines
550 B
JavaScript
$(function () {
|
|
$('.imdbstars').qtip({
|
|
content: {
|
|
text: function(event, api) {
|
|
// Retrieve content from custom attribute of the $('.selector') elements.
|
|
return $(this).attr('qtip-content');
|
|
}
|
|
},
|
|
show: {
|
|
solo: true
|
|
},
|
|
position: {
|
|
viewport: $(window),
|
|
my: 'right center',
|
|
at: 'center left',
|
|
adjust: {
|
|
y: 0,
|
|
x: -2
|
|
}
|
|
},
|
|
style: {
|
|
classes: 'qtip-rounded qtip-shadow'
|
|
}
|
|
});
|
|
});
|
|
|