1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
Johan Lundström 2010-07-31 14:49:08 +02:00 committed by Santiago Pastorino
parent 1d1f810d22
commit 96f8325116

View file

@ -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>