Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
Docs: Added a simpler workaround for Bootstrap modals
Browse files Browse the repository at this point in the history
Ref #159.
  • Loading branch information
JamesMGreene committed Jul 22, 2014
1 parent 6bb10da commit 57e8434
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/instructions.md
Expand Up @@ -330,6 +330,19 @@ If using [CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1) with a library su
changes in future versions of Bootstrap.
- **Workaround:** _Targeted against [Bootstrap v3.x](https://github.com/twbs/bootstrap/blob/96a9e1bae06cb21f8cf72ec528b8e31b6ab27272/js/modal.js#L115-123)._

#### Workaround A

```js
if (/MSIE|Trident/.test(window.navigator.userAgent)) {
(function($) {
var zcContainerId = ZeroClipboard.config('containerId');
$('#' + zcContainerId).on('focusin', false);
})(window.jQuery);
}
```

#### Workaround B

```js
if (/MSIE|Trident/.test(window.navigator.userAgent)) {
(function($) {
Expand Down

0 comments on commit 57e8434

Please sign in to comment.