mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
fixed selection in firefox
This commit is contained in:
+1
-1
@@ -585,7 +585,7 @@
|
||||
|
||||
on(this.element, 'mouseup', function() {
|
||||
var selection = document.getSelection();
|
||||
if (selection.type != 'Range') {
|
||||
if (selection.isCollapsed) {
|
||||
self.focus();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user