]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Add iOS hack to tooltips
authorPatrick H. Lauke <redux@splintered.co.uk>
Thu, 20 Apr 2017 12:49:35 +0000 (13:49 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Apr 2017 12:49:35 +0000 (13:49 +0100)
commitef099ad05deaa42f92c0fce903ed75010d50e317
treec8d82c959ff0992592537a3e7c1f497e17117338
parentb4ac48fdec7637c0c7c69f9d3ff9fc5d21d23676
Add iOS hack to tooltips

Same hack as in https://github.com/twbs/bootstrap/pull/22426 (modulo the selector, which is wrong in that PR and will be updated in a separate PR) to get tooltips to work correctly on iOS. Dynamically adds/removes empty (`noop`) `touchstart` event handlers to all children of `<body>` in order to coax iOS into proper event delegation/bubbling
js/src/tooltip.js