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

fix for FireBug "ActiveXObject is not defined" #86

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions ZeroClipboard.js
Expand Up @@ -202,6 +202,9 @@
ZeroClipboard.detectFlashSupport = function() {
var hasFlash = false;
try {
if (typeof ActiveXObject == 'undefined') {
throw "error";
}
if (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) {
hasFlash = true;
}
Expand Down