diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-04-10 19:46:51 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-04-11 00:50:34 +0400 |
commit | 9c167049683d3a54f21e353dc87f3f22b912d00d (patch) | |
tree | 659f71eb0e43cd8fe399b23d7accf4b2073418f3 /js/db_operations.js | |
parent | a753ac9b8031593f4d8390e004d9169a31ee0c6f (diff) |
Speed-up selectors
Diffstat (limited to 'js/db_operations.js')
-rw-r--r-- | js/db_operations.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/db_operations.js b/js/db_operations.js index 2adbc02cad..83f5da3908 100644 --- a/js/db_operations.js +++ b/js/db_operations.js @@ -96,8 +96,7 @@ $(document).ready(function() { $.get($form.attr('action'), $form.serialize(), function(data) { // use messages that stay on screen - $('.success').fadeOut(); - $('.error').fadeOut(); + $('div.success, div.error').fadeOut(); if(data.success == true) { $('#floating_menubar').after(data.message); if( $("#checkbox_switch").is(":checked")) { |