Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e572734a21 |
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "xterm.js",
|
||||
"version": "0.4",
|
||||
"version": "0.5",
|
||||
"ignore": ["demo", "docs", "test", ".gitignore"]
|
||||
}
|
||||
+1
-1
@@ -416,7 +416,7 @@ Terminal.prototype.initGlobal = function() {
|
||||
*/
|
||||
Terminal.bindPaste = function(term) {
|
||||
on([term.textarea, term.element], 'paste', function(ev) {
|
||||
ev.stopPropagation[();
|
||||
ev.stopPropagation();
|
||||
if (ev.clipboardData) {
|
||||
var text = ev.clipboardData.getData('text/plain');
|
||||
term.handler(text);
|
||||
|
||||
Reference in New Issue
Block a user