Remove unneeded explicit width from search results
This commit is contained in:
parent
a2f8f62818
commit
0a93cb36be
1 changed files with 0 additions and 9 deletions
|
@ -1688,15 +1688,6 @@ function defocusSearchBar() {
|
||||||
|
|
||||||
search.innerHTML = output;
|
search.innerHTML = output;
|
||||||
showSearchResults(search);
|
showSearchResults(search);
|
||||||
var tds = search.getElementsByTagName("td");
|
|
||||||
var td_width = 0;
|
|
||||||
if (tds.length > 0) {
|
|
||||||
td_width = tds[0].offsetWidth;
|
|
||||||
}
|
|
||||||
var width = search.offsetWidth - 40 - td_width;
|
|
||||||
onEachLazy(search.getElementsByClassName("desc"), function(e) {
|
|
||||||
e.style.width = width + "px";
|
|
||||||
});
|
|
||||||
initSearchNav();
|
initSearchNav();
|
||||||
var elems = document.getElementById("titles").childNodes;
|
var elems = document.getElementById("titles").childNodes;
|
||||||
elems[0].onclick = function() { printTab(0); };
|
elems[0].onclick = function() { printTab(0); };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue