aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/js/docs.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/js/docs.js')
-rw-r--r--docs/src/js/docs.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/src/js/docs.js b/docs/src/js/docs.js
index 8b61e3d1..dd891f07 100644
--- a/docs/src/js/docs.js
+++ b/docs/src/js/docs.js
@@ -33,9 +33,9 @@ shr.setup({
buttons[i].addEventListener('click', newSource);
}
- window.addEventListener('popstate', function(event) {
+ /*window.addEventListener('popstate', function(event) {
console.log(event);
- });
+ });*/
function toggleClass(element, className, state) {
if (element) {
@@ -117,9 +117,9 @@ shr.setup({
break;
}
- if (window.history && window.history.pushState) {
+ /*if (window.history && window.history.pushState) {
history.pushState({ 'type': type }, '', '#' + type);
- }
+ }*/
for (var x = buttons.length - 1; x >= 0; x--) {
toggleClass(buttons[x].parentElement, 'active', false);