Commits

Roma Sokolov  committed 3c5c055

click -> focus

  • Participants
  • Parent commits ac43122

Comments (0)

Files changed (1)

File static/common.js

 
 function add_hint(elmt, func){
     elmt.addClass('hint')
-    elmt.click(function(){
+    elmt.focus(function(){
         elmt.removeClass('hint');
         elmt.val('');
-        elmt.click(function(){});
+        elmt.focus(function(){});
     });
     if (func)
         func(elmt);