Commit ff5db20a authored by Leigh B Stoller's avatar Leigh B Stoller

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

parent 7862bf3b
...@@ -37,7 +37,11 @@ $(function () ...@@ -37,7 +37,11 @@ $(function ()
delay: {"hide" : 500, "show" : 150}, delay: {"hide" : 500, "show" : 150},
placement: 'auto', 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) { $('body').on('click', function (e) {
$('[data-toggle="popover"]').each(function () { $('[data-toggle="popover"]').each(function () {
//the 'is' for buttons that trigger popups //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