Fixed: Tooltips in modals

This commit is contained in:
Mark McDowall 2014-06-02 08:11:56 -07:00
parent 0293a0c006
commit 903e804425
2 changed files with 17 additions and 11 deletions

View File

@ -87,3 +87,19 @@ h3 {
margin-left: 0px;
}
}
// Tooltips
.help-inline-checkbox, .help-inline {
.tooltip-inner {
white-space : pre-wrap;
min-width : 200px;
}
.help-link ~ .tooltip {
.tooltip-inner {
white-space : normal;
min-width : 0px;
}
}
}

View File

@ -9,17 +9,7 @@ define(
console.log('starting signalR');
$('body').tooltip({
selector: '[title]',
container: 'body'
});
$(document).click(function(e) {
if ($(e.target).attr('title') !== undefined) {
return;
}
$('.tooltip').remove();
selector: '[title]'
});
return this;