From 8fda0ba61030238695b5f2f48ae18dccc404fae4 Mon Sep 17 00:00:00 2001 From: denise Date: Mon, 5 Nov 2012 12:03:46 -0500 Subject: [PATCH] CC-4625: On tablet you cannot create a playlist, smart block or webstream -attempt #2 --- airtime_mvc/public/js/bootstrap/bootstrap.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/bootstrap/bootstrap.js b/airtime_mvc/public/js/bootstrap/bootstrap.js index 3ba659d60..3ef74a09e 100644 --- a/airtime_mvc/public/js/bootstrap/bootstrap.js +++ b/airtime_mvc/public/js/bootstrap/bootstrap.js @@ -715,7 +715,10 @@ * =================================== */ $(document) - .on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus) + //menu options don't work on tablet so trying this hack for now: + // https://github.com/twitter/bootstrap/issues/4550 + //.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus) + .on('click.dropdown.data-api', clearMenus) .on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) .on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle) .on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)