mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Fix browsable API tooltips that linger.
This commit is contained in:
@@ -43,11 +43,13 @@ $(function() {
|
|||||||
$('.description').addClass('prettyprint').parent().css('float', 'none');
|
$('.description').addClass('prettyprint').parent().css('float', 'none');
|
||||||
$('.hidden a.hide-description').prependTo('.description');
|
$('.hidden a.hide-description').prependTo('.description');
|
||||||
$('a.hide-description').click(function() {
|
$('a.hide-description').click(function() {
|
||||||
|
$(this).tooltip('hide');
|
||||||
$('.description').slideUp('fast');
|
$('.description').slideUp('fast');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
$('.hidden a.toggle-description').appendTo('.page-header h1');
|
$('.hidden a.toggle-description').appendTo('.page-header h1');
|
||||||
$('a.toggle-description').click(function() {
|
$('a.toggle-description').click(function() {
|
||||||
|
$(this).tooltip('hide');
|
||||||
$('.description').slideToggle('fast');
|
$('.description').slideToggle('fast');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
@@ -68,6 +70,7 @@ $(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('a.resize').click(function() {
|
$('a.resize').click(function() {
|
||||||
|
$(this).tooltip('hide');
|
||||||
if ($(this).find('span.glyphicon-resize-full').size()) {
|
if ($(this).find('span.glyphicon-resize-full').size()) {
|
||||||
$(this).find('span.glyphicon').addClass('glyphicon-resize-small').removeClass('glyphicon-resize-full');
|
$(this).find('span.glyphicon').addClass('glyphicon-resize-small').removeClass('glyphicon-resize-full');
|
||||||
$('.container').addClass('container-fluid').removeClass('container');
|
$('.container').addClass('container-fluid').removeClass('container');
|
||||||
|
|||||||
Reference in New Issue
Block a user