diff --git a/js/tbl_change.js b/js/tbl_change.js index b38eeac2d..14fd11a38 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -302,9 +302,9 @@ $(document).ready(function() { .after(data.sql_query); //Remove the empty notice div generated due to a NULL query passed to PMA_showMessage() - var notice_class = $("#topmenucontainer").next("div").find('.notice'); - if($(notice_class).text() == '') { - $(notice_class).remove(); + var $notice_class = $("#topmenucontainer").next("div").find('.notice'); + if ($notice_class.text() == '') { + $notice_class.remove(); } var submit_type = $form.find("select[name='submit_type']").val();