diff --git a/js/sql.js b/js/sql.js index d640c4bed..b95418bf9 100644 --- a/js/sql.js +++ b/js/sql.js @@ -83,7 +83,7 @@ function appendInlineAnchor(disp_mode) { .text(PMA_messages['strInlineEdit']) .prepend($img_object); - $(this).siblings('.where_clause') + $(this).nextAll('.where_clause:eq(0)') .before($cloned_anchor); });