prefix for variable holding jQuery object; remove extra wrapping for the object
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user