The branch, master has been updated
via c63d6a59a17f618de00311eb2b2d20ae5e5ae426 (commit)
from 45ba32fa18caa705275fc03900a45f22c635daa8 (commit)
- Log -----------------------------------------------------------------
commit c63d6a59a17f618de00311eb2b2d20ae5e5ae426
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Dec 30 07:45:15 2010 -0500
Unneeded wrapping of a jQuery object
-----------------------------------------------------------------------
Summary of changes:
js/db_operations.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/db_operations.js b/js/db_operations.js
index 4e3dedf..502ca0d 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();
}
$("<span>" +
PMA_messages['strReloadDatabase'] + "?</span>").dialog({
hooks/post-receive
--
phpMyAdmin