summaryrefslogtreecommitdiff
path: root/ui/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'ui/index.html')
-rw-r--r--ui/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/index.html b/ui/index.html
index a426dcdf..44edb399 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -38,7 +38,7 @@ if (ieVersion !== false) {
}
/* MacGap hacks */
-if (macgap) {
+if (typeof macgap !== 'undefined') {
if (macgap.menu) {
var tmp = macgap.menu.getItem("Help");
if (tmp)