mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 23:08:14 +08:00
Merge pull request #196 from mashirozx/test-pull-193
merge pull request #193
This commit is contained in:
commit
211bea9ab6
@ -874,7 +874,9 @@ function getqqinfo() {
|
|||||||
}
|
}
|
||||||
var emailAddressFlag = cached.filter('#email').val();
|
var emailAddressFlag = cached.filter('#email').val();
|
||||||
cached.filter('#author').on('blur', function () {
|
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({
|
$.ajax({
|
||||||
type: 'get',
|
type: 'get',
|
||||||
url: mashiro_option.qq_api_url + '?qq=' + qq + '&_wpnonce=' + Poi.nonce,
|
url: mashiro_option.qq_api_url + '?qq=' + qq + '&_wpnonce=' + Poi.nonce,
|
||||||
@ -921,6 +923,7 @@ function getqqinfo() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
// $.ajax({
|
// $.ajax({
|
||||||
// type: 'get',
|
// type: 'get',
|
||||||
// url: mashiro_option.qq_avatar_api_url + '?type=getqqavatar&qq=' + qq,
|
// url: mashiro_option.qq_avatar_api_url + '?type=getqqavatar&qq=' + qq,
|
||||||
|
Loading…
Reference in New Issue
Block a user