From ae4b22eb84de7d5f050dfb0fcbbd2ebd5416418e Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Thu, 10 Jul 2014 15:48:59 -0300 Subject: [PATCH] made the qtip popup location dynamic --- js/roblib_search.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/roblib_search.js b/js/roblib_search.js index 32628f0..ed927fe 100644 --- a/js/roblib_search.js +++ b/js/roblib_search.js @@ -11,8 +11,12 @@ function qtipify(divs, content, title){ }, style: "qtip-light", position: { + viewport: jQuery(window), + adjust: { + method: 'flip', + }, my: 'left center', - at: 'center', + at: 'right center', }, }); }