Skip to content

Commit

Permalink
fixing the skosxl qtips not appearing after ajaxing content, related to
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Ylikotila committed Dec 19, 2017
1 parent 0f1d785 commit 0ef48fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions resource/js/docready.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ $(function() { // DOCUMENT READY
if (settings.url.indexOf('search') !== -1 && $autocomplete.length > 0 && $autocomplete[0].offsetHeight === 302) {
$(".tt-dropdown-menu").mCustomScrollbar({ alwaysShowScrollbar: 1, scrollInertia: 0 });
}

$('.reified-property-value').each(function() {
$(this).qtip({
content: $(this).next('.reified-tooltip'),
position: { my: 'top left', at: 'top left' },
style: { classes: 'qtip-skosmos' },
show: { delay: 100 },
hide: { fixed: true, delay: 400 }
});
});

countAndSetOffset();

hideCrumbs();
Expand Down

0 comments on commit 0ef48fd

Please sign in to comment.