We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e628196 commit 830b3b8Copy full SHA for 830b3b8
src/librustdoc/html/static/main.js
@@ -150,8 +150,7 @@ if (!DOMTokenList.prototype.remove) {
150
}
151
152
function browserSupportsHistoryApi() {
153
- return document.location.protocol != "file:" &&
154
- window.history && typeof window.history.pushState === "function";
+ return window.history && typeof window.history.pushState === "function";
155
156
157
var main = document.getElementById("main");
0 commit comments