mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Merge pull request #264 from droptype/restframework2
Prevent the touchstart event propagation on the dropdown menus in the navbar
This commit is contained in:
commit
e37a1a1db2
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user