aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2012-09-17 10:11:23 -0700
committerTom Christie2012-09-17 10:11:23 -0700
commite37a1a1db20f81d9eac99d2e4b84a03935a3be7d (patch)
tree2119c96660188bb946bd06871d11a06aa17d717a
parent549ebdc1c67c20bdff39a2f4a59012dd010213a1 (diff)
parent43c2a15f9d9423fdd3211684e18efeacd7534d3f (diff)
downloaddjango-rest-framework-e37a1a1db20f81d9eac99d2e4b84a03935a3be7d.tar.bz2
Merge pull request #264 from droptype/restframework2
Prevent the touchstart event propagation on the dropdown menus in the navbar
-rw-r--r--docs/template.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/template.html b/docs/template.html
index 127978d2..4ac94f40 100644
--- a/docs/template.html
+++ b/docs/template.html
@@ -118,7 +118,7 @@
if (location.hash) shiftWindow();
window.addEventListener("hashchange", shiftWindow);
- $('.dropdown-menu').click(function(event) {
+ $('.dropdown-menu').on('click touchstart', function(event) {
event.stopPropagation();
});
</script>