popup from bootstrap and not jquery-ui

This commit is contained in:
Martin Müller 2014-06-16 10:32:09 +02:00
parent d12462c0f9
commit 004a157476
1 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@ var global_load = null;
}); });
$(where + ' .dropdown-toggle').dropdown(); $(where + ' .dropdown-toggle').dropdown();
$(where + " a").tooltip({'placement':function(e){ $(where + " a").tooltip({'placement':function(e){
if($(e).parents("#barleft")) if($(this)[0].$element.parents("#barleft").length>0)
return 'right'; return 'right';
return 'auto bottom'; return 'bottom';
}}); }});
$(where + " a").not('[href*="mailto:"]').each(function(that) { $(where + " a").not('[href*="mailto:"]').each(function(that) {