Commit 7471dc34 by libai

测试

parent 8d881068
Showing with 5 additions and 4 deletions
...@@ -137,8 +137,11 @@ function loginGo(){ ...@@ -137,8 +137,11 @@ function loginGo(){
// console.log("Image URL: " + responsePayload.picture); // console.log("Image URL: " + responsePayload.picture);
// console.log("Email: " + responsePayload.email); // console.log("Email: " + responsePayload.email);
} }
$('#twitter_btn').on('click', function () {
login_twitter('twitter');
})
function googleLogin(){ function googleLogin(){
google.accounts.id.initialize({ google.accounts.id.initialize({
...@@ -979,9 +982,7 @@ function loginLayer(){ ...@@ -979,9 +982,7 @@ function loginLayer(){
} }
}) })
} }
$('#twitter_btn').on('click', function () {
login_twitter('twitter');
})
//twitter //twitter
window.twttr = (function (d, s, id) { window.twttr = (function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], var js, fjs = d.getElementsByTagName(s)[0],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment