apps/keyboard/js/keyboard.js
// once bug 819102 is fixed.
once bug 819102 is fixed.
once bug 819102 is fixed .
function onMouseDown(evt) {
  evt.preventDefault();
  if (touchEventsPresent)
    return;
  IMERender.ime.setCapture(false);
  currentKey = evt.target;
  startPress(currentKey, evt, null);
}
function onMouseDown ( evt ) { evt . preventDefault ( ) ; if ( touchEventsPresent ) return ; IMERender . ime . setCapture ( false ) ; currentKey = evt . target ; startPress ( currentKey , evt , null ) ; }
once bug 819102 is fixed.
once bug 819102 is fixed .
// Prevent loosing focus to the currently focused app // Otherwise, right after mousedown event, the app will receive a focus event. // Bail if we're using touch events.