[Client] Fix bug

This commit is contained in:
syuilo 2017-06-07 16:32:41 +09:00
parent c8f87d0b12
commit 727fdf31f9

View file

@ -25,6 +25,8 @@
color #8899a6 color #8899a6
</style> </style>
<script> <script>
import CONFIG from '../scripts/config';
this.mixin('i'); this.mixin('i');
this.form = null; this.form = null;
@ -43,7 +45,8 @@
} }
}; };
this.authorize = () => { this.authorize = e => {
e.preventDefault();
this.form = window.open(CONFIG.apiUrl + '/connect/twitter', this.form = window.open(CONFIG.apiUrl + '/connect/twitter',
'twitter_authorize_window', 'twitter_authorize_window',
'height=570,width=520'); 'height=570,width=520');