Permalink
Browse files

DHH forgot to remove JS, CSS in generated index.html [#5261 state:res…

…olved]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information...
1 parent 1d1f810 commit 96f8325116148848cf2a6ec7d8561df8955ffaa3 @johanlunds johanlunds committed with spastorino Jul 31, 2010
Showing with 0 additions and 23 deletions.
  1. +0 −23 railties/lib/rails/generators/rails/app/templates/public/index.html
@@ -151,19 +151,6 @@
}
- #search {
- margin: 0;
- padding-top: 10px;
- padding-bottom: 10px;
- font-size: 11px;
- }
- #search input {
- font-size: 11px;
- margin: 2px;
- }
- #search-text {width: 170px}
-
-
#sidebar ul {
margin-left: 0;
padding-left: 0;
@@ -194,16 +181,6 @@
info.innerHTML = xhr.responseText;
info.style.display = 'block'
}
-
- function prepend() {
- search = document.getElementById('search-text');
- text = search.value;
- search.value = 'site:rubyonrails.org ' + text;
- }
-
- window.onload = function() {
- document.getElementById('search-text').value = '';
- }
</script>
</head>
<body>

0 comments on commit 96f8325

Please sign in to comment.