1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Merge pull request #1330 from cchurch/go-away-you-stinking-tooltips

Do you have to let it linger? Not anymore.
This commit is contained in:
Chris Church 2016-03-29 16:37:45 -04:00
commit 16ff69af0f

View File

@ -43,11 +43,13 @@ $(function() {
$('.description').addClass('prettyprint').parent().css('float', 'none');
$('.hidden a.hide-description').prependTo('.description');
$('a.hide-description').click(function() {
$(this).tooltip('hide');
$('.description').slideUp('fast');
return false;
});
$('.hidden a.toggle-description').appendTo('.page-header h1');
$('a.toggle-description').click(function() {
$(this).tooltip('hide');
$('.description').slideToggle('fast');
return false;
});
@ -68,6 +70,7 @@ $(function() {
});
$('a.resize').click(function() {
$(this).tooltip('hide');
if ($(this).find('span.glyphicon-resize-full').size()) {
$(this).find('span.glyphicon').addClass('glyphicon-resize-small').removeClass('glyphicon-resize-full');
$('.container').addClass('container-fluid').removeClass('container');