From c63d6a59a17f618de00311eb2b2d20ae5e5ae426 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 30 Dec 2010 07:45:15 -0500 Subject: [PATCH] Unneeded wrapping of a jQuery object --- js/db_operations.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/db_operations.js b/js/db_operations.js index 4e3dedf4f..502ca0d00 100644 --- a/js/db_operations.js +++ b/js/db_operations.js @@ -60,9 +60,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(); } $("" + PMA_messages['strReloadDatabase'] + "?").dialog({