Skip to content

Commit

Permalink
fix tooltips position to prevent them to display out of windows; fix #…
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Nov 27, 2015
1 parent 1fe377f commit 8a39819
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/html.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3700,6 +3700,7 @@ static function showToolTip($content, $options=array()) {
}
$js = "";
$js .= Html::jsGetElementbyID($param['applyto']).".qtip({
position: { viewport: $(window) },
content: {text: ".Html::jsGetElementbyID($param['contentid']);
if (!$param['autoclose']) {
$js .=", title: {text: ' ',button: true}";
Expand Down

0 comments on commit 8a39819

Please sign in to comment.