修复由切换qq头像和gravatar头像导致的报错问题
This commit is contained in:
parent
ccb0b6f5da
commit
aa221716b1
|
@ -864,7 +864,9 @@ function getqqinfo() {
|
|||
}
|
||||
var emailAddressFlag = cached.filter('#email').val();
|
||||
cached.filter('#author').on('blur', function () {
|
||||
var qq = cached.filter('#author').val();
|
||||
var qq = cached.filter('#author').val(),
|
||||
$reg = /^[1-9]\d{4,9}$/;
|
||||
if ($reg.test(qq)) {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: mashiro_option.qq_api_url + '?qq=' + qq + '&_wpnonce=' + Poi.nonce,
|
||||
|
@ -911,6 +913,7 @@ function getqqinfo() {
|
|||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
// $.ajax({
|
||||
// type: 'get',
|
||||
// url: mashiro_option.qq_avatar_api_url + '?type=getqqavatar&qq=' + qq,
|
||||
|
|
Loading…
Reference in New Issue