From 57e84345e977f4e0b9968bbe119f4a2c77f54902 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Tue, 22 Jul 2014 14:05:26 -0500 Subject: [PATCH] Docs: Added a simpler workaround for Bootstrap modals Ref #159. --- docs/instructions.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/instructions.md b/docs/instructions.md index 41a1e0d5..53bc7ae6 100644 --- a/docs/instructions.md +++ b/docs/instructions.md @@ -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($) {