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:
parent
1d1f810d22
commit
96f8325116
1 changed files with 0 additions and 23 deletions
|
@ -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 {
|
#sidebar ul {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
@ -194,16 +181,6 @@
|
||||||
info.innerHTML = xhr.responseText;
|
info.innerHTML = xhr.responseText;
|
||||||
info.style.display = 'block'
|
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>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue