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:
commit
16ff69af0f
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user