mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-25 03:13:09 +02:00
[Client] Fix bug
This commit is contained in:
parent
c8f87d0b12
commit
727fdf31f9
1 changed files with 4 additions and 1 deletions
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue