diff --git a/resources/static/include_js/include.js b/resources/static/include_js/include.js
index e2ab7fa071d129057a11d36e89218676254a93c3..a730fcad8fbcf71c4286374613892ea51c204506 100644
--- a/resources/static/include_js/include.js
+++ b/resources/static/include_js/include.js
@@ -817,14 +817,11 @@
             }
           };
         }
-      };
+      }
     } else {
       return {
         open: function(url, winopts, arg, cb) {
           setTimeout(function() { cb("unsupported browser"); }, 0);
-        },
-        onOpen: function(cb) {
-          setTimeout(function() { cb("unsupported browser"); }, 0);
         }
       };
     }