prefix for variable holding jQuery object; remove extra wrapping for the object

This commit is contained in:
Marc Delisle
2010-10-31 18:06:44 -04:00
parent 91a64c1ee2
commit 473181a8a3

View File

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