Skip to content

Commit

Permalink
Remove JS that handled not-quite-placeholder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Hamill committed Mar 2, 2013
1 parent 5842f5a commit a2f5836
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions public/javascripts/application.js
@@ -1,22 +1,5 @@
$(document).ready(function() {
if (window.location.href.search(/query=/) == -1) {
$('#query').one('click, focus', function() {
$(this).val('');
});
}

$(document).bind('keyup', function(event) {
if ($(event.target).is(':input')) {
return;
}

if (event.which == 83) {
$('#query').focus();
}
});

$('#version_for_stats').change(function() {
window.location.href = $(this).val();
});

});

0 comments on commit a2f5836

Please sign in to comment.