chrome/script.browserify.js
// therefore there is no need for redraw calls
therefore there is no need for redraw calls
therefore there is no need for redraw calls
function keyHandler(e) {
  switch (e.key) {
    case "ArrowUp":
      switchFocus("div.entry:last-child > .login", "previousElementSibling");
      break;
    case "ArrowDown":
      switchFocus("div.entry:first-child > .login", "nextElementSibling");
      break;
    case "c":
      if (e.target.id != "search-field" && e.ctrlKey) {
        document.activeElement.parentNode
          .querySelector("button.copy.password")
          .click();
      }
      break;
    case "C":
      if (e.target.id != "search-field") {
        document.activeElement.parentNode
          .querySelector("button.copy.username")
          .click();
      }
      break;
    case "g":
      if (e.target.id != "search-field") {
        document.activeElement.parentNode
          .querySelector("button.launch.url")
          .click();
      }
  }
}
function keyHandler ( e ) { switch ( e . key ) { case "ArrowUp" : switchFocus ( "div.entry:last-child > .login" , "previousElementSibling" ) ; break ; case "ArrowDown" : switchFocus ( "div.entry:first-child > .login" , "nextElementSibling" ) ; break ; case "c" : if ( e . target . id != "search-field" && e . ctrlKey ) { document . activeElement . parentNode . querySelector ( "button.copy.password" ) . click ( ) ; } break ; case "C" : if ( e . target . id != "search-field" ) { document . activeElement . parentNode . querySelector ( "button.copy.username" ) . click ( ) ; } break ; case "g" : if ( e . target . id != "search-field" ) { document . activeElement . parentNode . querySelector ( "button.launch.url" ) . click ( ) ; } } }
therefore there is no need for redraw calls
therefore there is no need for redraw calls