We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dccdde4 commit 1275c11Copy full SHA for 1275c11
src/librustdoc/html/static/main.js
@@ -33,23 +33,6 @@
33
return window.history && typeof window.history.pushState === "function";
34
}
35
36
- function resizeShortBlocks() {
37
- if (resizeTimeout) {
38
- clearTimeout(resizeTimeout);
39
- }
40
- resizeTimeout = setTimeout(function() {
41
- var contentWidth = $('.content').width();
42
- $('.docblock.short').width(function() {
43
- return contentWidth - 40 - $(this).prev().width();
44
- }).addClass('nowrap');
45
- $('.summary-column').width(function() {
46
47
- })
48
- }, 150);
49
50
- resizeShortBlocks();
51
- $(window).on('resize', resizeShortBlocks);
52
-
53
function highlightSourceLines(ev) {
54
var i, from, to, match = window.location.hash.match(/^#?(\d+)(?:-(\d+))?$/);
55
if (match) {
0 commit comments