nitdoc: Add a hover behavior to the mouse
[nit.git] / share / nitdoc / scripts / js-facilities.js
index 2e07202..315f7d6 100644 (file)
@@ -619,6 +619,15 @@ $(document).ready(function() {
                        reloadComment();\r
                });\r
        });\r
+\r
+       $("pre").hover(\r
+               function () {\r
+                       $(this).css({'cursor' : 'hand'});       \r
+               },\r
+               function () {\r
+                       $(this).css({'cursor' : 'pointer'});    \r
+               }\r
+       );\r
 });\r
 \r
 /* Parse current URL and return anchor name */\r