Commit 86866e51 by Bence Dányi

webui: fix broken link event handlers

parent e5106dde
...@@ -26,6 +26,9 @@ $(function() { ...@@ -26,6 +26,9 @@ $(function() {
$(this).parent().next().find('.ipv4host').show(); $(this).parent().next().find('.ipv4host').show();
} }
}); });
$('a[href!=#]').click(function(e) {
e.stopPropagation();
});
$('.delete-template').click(function(e) { $('.delete-template').click(function(e) {
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
......
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 sign in to comment