Commit ff5db20a authored by Leigh Stoller's avatar Leigh Stoller

Fix bug reported by Eric in issue #260. This closes issue #260

parent 7862bf3b
......@@ -37,7 +37,11 @@ $(function ()
delay: {"hide" : 500, "show" : 150},
placement: 'auto',
});
// Prevent shooting to the top of the page on clicking the popover.
$('#images-table [data-toggle="popover"]')
.click(function (event) {
event.preventDefault();
});
$('body').on('click', function (e) {
$('[data-toggle="popover"]').each(function () {
//the 'is' for buttons that trigger popups
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment