comparison static/gui.js @ 4:409da49c148d

partway though add Ignore-this: 330d1f3393bb91ca56267d2138e3bb22
author drewp@bigasterisk.com
date Sun, 17 Feb 2013 21:12:53 -0800
parents 80b11112c9e0
children f8c4c7ce5f4a
comparison
equal deleted inserted replaced
3:656583326f40 4:409da49c148d
1
2 $("#filterTag").focus();
1 3
2 function toggleTag(tag) { 4 function toggleTag(tag) {
3 var p = window.location.pathname; 5 var p = window.location.pathname;
4 var comps = p.split("/"); 6 var comps = p.split("/");
5 var selected = (comps[2] || "").split("+"); 7 var selected = (comps[2] || "").split("+");
46 $("#filterTag").keydown(function (ev) { 48 $("#filterTag").keydown(function (ev) {
47 if ($(this).val() == "" && ev.which == 8) { 49 if ($(this).val() == "" && ev.which == 8) {
48 backspaceLastTag(); 50 backspaceLastTag();
49 } 51 }
50 }); 52 });
51
52 $("#filterTag").focus();