When the cursor is hover a comment, it is update to a hand only on edit mode
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
\r
$("pre").hover(\r
function () {\r
- $(this).css({'cursor' : 'hand'}); \r
+ if(sessionStarted == true){\r
+ $(this).css({'cursor' : 'hand'});\r
+ }\r
+ else{\r
+ $(this).css({'cursor' : ''});\r
+ }\r
},\r
function () {\r
- $(this).css({'cursor' : 'pointer'}); \r
+ if(sessionStarted == true){\r
+ $(this).css({'cursor' : 'pointer'});\r
+ }\r
+ else{\r
+ $(this).css({'cursor' : ''}); \r
+ }\r
}\r
);\r
});\r