mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 10:17:33 +08:00
cb option for auth change event
This commit is contained in:
@@ -55,7 +55,9 @@ function configurePymParent(pymParent, opts) {
|
||||
}
|
||||
|
||||
pymParent.onMessage('checkLogin', function(result) {
|
||||
console.log(JSON.parse(result));
|
||||
if (opts.onAuthChange) {
|
||||
opts.onAuthChange(JSON.parse(result));
|
||||
}
|
||||
});
|
||||
|
||||
// Sends config to the child
|
||||
|
||||
Reference in New Issue
Block a user