         # Init pausing rendering when user clicks
         @_init_rendering_pause()
 
-        if not IS_TOUCH
-            @textarea.on 'blur', =>
-                if @_focusing?          # see comment in @focus.
-                    @_focus_hidden_textarea()
+        @textarea.on 'blur', =>
+            if @_focusing?          # see comment in @focus.
+                 @_focus_hidden_textarea()
 
         # delete scroll buttons except on mobile
         if not IS_TOUCH

        # Determine number of rows from the height of the row, as computed above.
        height = elt.height()
        if IS_TOUCH
            height -= 120
        new_rows = Math.max(1, Math.floor(height / row_height))

        # Resize the renderer

        @textarea.blur()
        $(@terminal.element).focus()

        if not IS_TOUCH
            @_focus_hidden_textarea()
        @terminal.focus()

        $(@terminal.element).addClass('webapp-console-focus').removeClass('webapp-console-blur')
        setTimeout((()=>delete @_focusing), 0)   # critical!
