Permalink
Browse files

fix copy paste info searchfield

  • Loading branch information...
icewind1991 committed Feb 13, 2017
1 parent 2d1ccd0 commit 0e91b2f46649a720feb7c3b6b8266b8657db5574
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/App.js
View
@@ -106,7 +106,9 @@ export class App extends Component {
data = event.clipboardData.getData('text/plain');
}
data = data.trim();
this.onLogFile(data);
if (data.indexOf('{') !== -1 && data.indexOf('}')) {
this.onLogFile(data);
}
};
render () {

0 comments on commit 0e91b2f

Please sign in to comment.