This repository has been archived on 2026-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
league-search/js/summoner.js
2015-06-30 01:06:38 -07:00

20 lines
388 B
JavaScript
Executable file

function summonerLookUp(){var a="";a=$("#name").val().replace(/\s/g,"").trim().toLowerCase(),""!==a&&(location.href=location.pathname+"?userName="+a)}
function imgError(image){
image.onerror = "";
image.src = "./img/black.png";
return true;
}
function imgDelete(image){
image.onerror = "";
image.src = "./img/null.png";
return true;
}