We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a74387 + 1275c11 commit 21b024aCopy full SHA for 21b024a
src/librustdoc/html/static/main.js
@@ -54,23 +54,6 @@
54
return window.history && typeof window.history.pushState === "function";
55
}
56
57
- function resizeShortBlocks() {
58
- if (resizeTimeout) {
59
- clearTimeout(resizeTimeout);
60
- }
61
- resizeTimeout = setTimeout(function() {
62
- var contentWidth = $('.content').width();
63
- $('.docblock.short').width(function() {
64
- return contentWidth - 40 - $(this).prev().width();
65
- }).addClass('nowrap');
66
- $('.summary-column').width(function() {
67
68
- })
69
- }, 150);
70
71
- resizeShortBlocks();
72
- $(window).on('resize', resizeShortBlocks);
73
-
74
function highlightSourceLines(ev) {
75
var i, from, to, match = window.location.hash.match(/^#?(\d+)(?:-(\d+))?$/);
76
if (match) {
0 commit comments