This commit is contained in:
Kai Hendry
2012-12-09 15:21:07 +08:00
parent b70ba9ff5f
commit f873fd8222
3 changed files with 6 additions and 2 deletions

View File

@@ -53,6 +53,11 @@ $(document).ready(function() {
NAME = window.location.pathname.split('/')[2];
$("#name").html(NAME);
appletouchicon = document.createElement('link');
appletouchicon.setAttribute("rel", "apple-touch-icon");
appletouchicon.setAttribute("href", "https://api.twitter.com/1/users/profile_image?screen_name=" + NAME + "&size=bigger");
document.getElementsByTagName("head")[0].appendChild(appletouchicon);
$("input[type=search]").change(function() {
query = this.value;
window.location.hash = query;