Commit 6f5c9c6cc59bc6ff94c42bdafdc0e97786db28dc
1 parent
588249d5
8093 : iPad > All the buttons are working on two taps
Showing
1 changed file
with
2 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/themes/default/scripts/bootstrap/3.3.5/bootstrap.js
... | ... | @@ -491,7 +491,7 @@ if (typeof jQuery === 'undefined') { |
491 | 491 | var backdrop = '.dropdown-backdrop' |
492 | 492 | var toggle = '[data-toggle="dropdown"]' |
493 | 493 | var Dropdown = function (element) { |
494 | - $(element).on('click.bs.dropdown', this.toggle) | |
494 | + $(element).on('click.bs.dropdown', this.toggle); | |
495 | 495 | } |
496 | 496 | |
497 | 497 | Dropdown.VERSION = '3.3.6' |
... | ... | @@ -634,6 +634,7 @@ if (typeof jQuery === 'undefined') { |
634 | 634 | .on('click.bs.dropdown.data-api', clearMenus) |
635 | 635 | .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) |
636 | 636 | .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle) |
637 | + .on('touchstart.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle) | |
637 | 638 | .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown) |
638 | 639 | .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown) |
639 | 640 | ... | ... |