From 60e6bba12b6843b01194b6534fb56129ec0b2140 Mon Sep 17 00:00:00 2001 From: Alec Perkins Date: Sun, 9 Sep 2012 16:46:05 -0400 Subject: Browsable API doc topic --- docs/template.html | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/template.html') diff --git a/docs/template.html b/docs/template.html index c8cfbbab..819e3b92 100644 --- a/docs/template.html +++ b/docs/template.html @@ -64,6 +64,7 @@ -- cgit v1.2.3 From 43c2a15f9d9423fdd3211684e18efeacd7534d3f Mon Sep 17 00:00:00 2001 From: Alec Perkins Date: Mon, 17 Sep 2012 10:01:44 -0400 Subject: Prevent the touchstart event propagation on the dropdown menus in the navbar. This allows the dropdowns to be used on a touch device.--- docs/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/template.html') 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(); }); -- cgit v1.2.3