[copr] master: Only show the messages, don't hide them with JS, it is confusing (6dd3445)

bkabrda at fedoraproject.org bkabrda at fedoraproject.org
Tue Apr 2 13:24:06 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 6dd3445b0f60bef7dab99140165b4fd37e676efe
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Tue Apr 2 13:36:59 2013 +0200

    Only show the messages, don't hide them with JS, it is confusing


>---------------------------------------------------------------

 coprs_frontend/coprs/static/copr.js |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/coprs_frontend/coprs/static/copr.js b/coprs_frontend/coprs/static/copr.js
index 8740dc8..cb09b34 100644
--- a/coprs_frontend/coprs/static/copr.js
+++ b/coprs_frontend/coprs/static/copr.js
@@ -21,12 +21,9 @@ $(document).ready(function() {
 
 // admin legal-flag divs rolling
 $(document).ready(function() {
-  $("div.legal-flag").hover(
+  $("div.legal-flag").mouseenter(
     function() {
       $(this).children(".message").show("fast");
-    },
-    function() {
-      $(this).children(".message").hide("fast");
     }
-  )
+  );
 });



More information about the copr-devel mailing list