Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/ratchet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dist/js/ratchet.js')
-rw-r--r--docs/dist/js/ratchet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dist/js/ratchet.js b/docs/dist/js/ratchet.js
index 4efe2f1..ca25df1 100644
--- a/docs/dist/js/ratchet.js
+++ b/docs/dist/js/ratchet.js
@@ -113,8 +113,8 @@
}
modal.dispatchEvent(eventToDispatch);
modal.classList.toggle('active');
+ event.preventDefault(); // prevents rewriting url (apps can still use hash values in url)
}
- event.preventDefault(); // prevents rewriting url (apps can still use hash values in url)
});
}());