diff --git a/browser/js/browser-headless.bundle.js b/browser/js/browser-headless.bundle.js index ab90cb6e..ad32d8e3 100644 --- a/browser/js/browser-headless.bundle.js +++ b/browser/js/browser-headless.bundle.js @@ -4367,6 +4367,7 @@ require('./app') $(e.target).trigger('fake-click') if (e.button==2) { + e.preventDefault() $(e.target).trigger('fake-right-click',e) } @@ -6680,7 +6681,7 @@ function Socket(uri, opts){ this.cert = opts.cert || null; this.ca = opts.ca || null; this.ciphers = opts.ciphers || null; - this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? null : opts.rejectUnauthorized; + this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? true : opts.rejectUnauthorized; // other options for Node.js client var freeGlobal = typeof global == 'object' && global; diff --git a/browser/js/jquery/jquery.drag.js b/browser/js/jquery/jquery.drag.js index 15318737..e1f10233 100644 --- a/browser/js/jquery/jquery.drag.js +++ b/browser/js/jquery/jquery.drag.js @@ -307,6 +307,7 @@ $(e.target).trigger('fake-click') if (e.button==2) { + e.preventDefault() $(e.target).trigger('fake-right-click',e) }