Skip to content

Commit

Permalink
CC-4625: On tablet you cannot create a playlist, smart block or webst…
Browse files Browse the repository at this point in the history
…ream

-attempt #2
  • Loading branch information
denise authored and denise committed Nov 5, 2012
1 parent 106b18b commit c051e06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion airtime_mvc/public/js/bootstrap/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,11 @@
* =================================== */

$(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)
Expand Down

0 comments on commit c051e06

Please sign in to comment.