diff options
| author | Tom Christie | 2012-09-17 10:11:23 -0700 |
|---|---|---|
| committer | Tom Christie | 2012-09-17 10:11:23 -0700 |
| commit | e37a1a1db20f81d9eac99d2e4b84a03935a3be7d (patch) | |
| tree | 2119c96660188bb946bd06871d11a06aa17d717a | |
| parent | 549ebdc1c67c20bdff39a2f4a59012dd010213a1 (diff) | |
| parent | 43c2a15f9d9423fdd3211684e18efeacd7534d3f (diff) | |
| download | django-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.html | 2 |
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> |
