Permalink
Browse files

Remove JS that handled not-quite-placeholder.

  • Loading branch information...
1 parent 5842f5a commit a2f5836cc763ed63d2bba47e494c636f64ef0b7e @benhamill benhamill committed Mar 2, 2013
Showing with 0 additions and 17 deletions.
  1. +0 −17 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.