mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04: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:
committed by
Santiago Pastorino
parent
1d1f810d22
commit
96f8325116
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user