Use of delegate, and make qtip always show on visibla part of the display
This commit is contained in:
parent
4961e1ee7f
commit
81fd108a54
@ -13,14 +13,14 @@ $(document).ready(function()
|
||||
position: {
|
||||
my: "top right",
|
||||
at: "bottom right",
|
||||
adjust: { y: 5 },
|
||||
viewport : $(window),
|
||||
effect: false
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$("div#criteres a.criterelist").on('click', function(e){
|
||||
e.preventDefault();
|
||||
$('div#panel').delegate('div#criteres a.criterelist', 'click', function(e){
|
||||
e.preventDefault();
|
||||
var title = $(this).attr('title');
|
||||
var href = $(this).attr('href');
|
||||
|
Loading…
Reference in New Issue
Block a user