Commit e37a1a1d by Tom Christie

Merge pull request #264 from droptype/restframework2

Prevent the touchstart event propagation on the dropdown menus in the navbar
parents 549ebdc1 43c2a15f
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
if (location.hash) shiftWindow(); if (location.hash) shiftWindow();
window.addEventListener("hashchange", shiftWindow); window.addEventListener("hashchange", shiftWindow);
$('.dropdown-menu').click(function(event) { $('.dropdown-menu').on('click touchstart', function(event) {
event.stopPropagation(); event.stopPropagation();
}); });
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment