Fixed copy event in IE11

This commit is contained in:
hiro-su
2016-11-05 23:55:34 +09:00
parent 9ab0455b05
commit 5808de648b
3 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ let userAgent = (isNode) ? 'node' : navigator.userAgent;
let platform = (isNode) ? 'node' : navigator.platform;
export let isFirefox = !!~userAgent.indexOf('Firefox');
export let isMSIE = !!~userAgent.indexOf('MSIE');
export let isMSIE = !!~userAgent.indexOf('MSIE') || !!~userAgent.indexOf('Trident');
// Find the users platform. We use this to interpret the meta key
// and ISO third level shifts.