mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #345 from hiro-su/fix-ie11-right-click-paste
Fix the right click paste in IE11
This commit is contained in:
+1
-1
@@ -458,7 +458,7 @@ Terminal.prototype.initGlobal = function() {
|
|||||||
rightClickHandler.call(this, ev, term);
|
rightClickHandler.call(this, ev, term);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (term.browser.isFirefox || term.browser.isMSIE) {
|
if (term.browser.isFirefox) {
|
||||||
on(this.element, 'mousedown', function (ev) {
|
on(this.element, 'mousedown', function (ev) {
|
||||||
if (ev.button == 2) {
|
if (ev.button == 2) {
|
||||||
rightClickHandlerWrapper(ev);
|
rightClickHandlerWrapper(ev);
|
||||||
|
|||||||
Reference in New Issue
Block a user