Skip to content

Commit

Permalink
Syntax fix
Browse files Browse the repository at this point in the history
Bumped bower version to 0.5
  • Loading branch information
parisk committed Apr 9, 2014
1 parent 4f2cadd commit e572734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,5 +1,5 @@
{
"name": "xterm.js",
"version": "0.4",
"version": "0.5",
"ignore": ["demo", "docs", "test", ".gitignore"]
}
2 changes: 1 addition & 1 deletion src/xterm.js
Expand Up @@ -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);
Expand Down

0 comments on commit e572734

Please sign in to comment.