From 004a157476bbe22005763a05ba54704183a265ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Mon, 16 Jun 2014 10:32:09 +0200 Subject: [PATCH] popup from bootstrap and not jquery-ui --- app/webroot/js/dreamjob.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/webroot/js/dreamjob.js b/app/webroot/js/dreamjob.js index 59f6694..071e23e 100755 --- a/app/webroot/js/dreamjob.js +++ b/app/webroot/js/dreamjob.js @@ -49,9 +49,9 @@ var global_load = null; }); $(where + ' .dropdown-toggle').dropdown(); $(where + " a").tooltip({'placement':function(e){ - if($(e).parents("#barleft")) + if($(this)[0].$element.parents("#barleft").length>0) return 'right'; - return 'auto bottom'; + return 'bottom'; }}); $(where + " a").not('[href*="mailto:"]').each(function(that) {