Skip to content

Commit 016533a

Browse files
committed
Update
1 parent bf68979 commit 016533a

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

_static/css/custom.css

+4
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,7 @@
9191
transition: none;
9292
transform-origin: none;
9393
}
94+
95+
.pytorch-left-menu-search input[type=text] {
96+
background-image: none;
97+
}

_templates/layout.html

-9
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@
2727
<script async src="https://cse.google.com/cse.js?cx=e65585f8c3ea1440e"></script>
2828
<div class="gcse-search"></div>
2929
</div>
30-
<!-- JavaScript to remove search-icon background image -->
31-
<script>
32-
window.addEventListener('load', function() {
33-
var input = document.querySelector('.gsc-input input[type=text]');
34-
if (input) {
35-
input.style.backgroundImage = 'none';
36-
}
37-
});
38-
</script>
3930
{% endblock %}
4031

4132
{% block footer %}

0 commit comments

Comments
 (0)