Merge branch 'master' into 718_selection_on_top

This commit is contained in:
Daniel Imms
2017-06-21 08:25:05 -07:00
committed by GitHub
+2 -1
View File
@@ -538,8 +538,9 @@ Terminal.prototype.initGlobal = function() {
on(this.element, 'paste', pasteHandlerWrapper);
if (term.browser.isFirefox) {
// Firefox doesn't appear to fire the contextmenu event on right click
on(this.element, 'mousedown', event => {
if (ev.button == 2) {
if (event.button == 2) {
rightClickHandler(event, this.textarea, this.selectionManager);
}
});