Explorar el Código

Remove autofocus on first textbox on opening note section

Vijayakrishnan hace 4 años
padre
commit
2ad27927b5
Se han modificado 1 ficheros con 0 adiciones y 6 borrados
  1. 0 6
      resources/views/app/patient/note/dashboard_script.blade.php

+ 0 - 6
resources/views/app/patient/note/dashboard_script.blade.php

@@ -54,12 +54,6 @@
                         editParent.toggleClass('edit');
                         if(editParent.is('.edit')) {
                             editParent.siblings('.edit').removeClass('edit');
-                            if(editParent.find('[contenteditable]').length) {
-                                editParent.find('[contenteditable]').first().focus();
-                            }
-                            else {
-                                editParent.find('textarea:visible').first().focus();
-                            }
                         }
                         return false;
                     });