Fix missing preview of cape in player management
of user center.
This commit is contained in:
parent
2649840644
commit
9d16e20db5
@ -2,7 +2,7 @@
|
|||||||
* @Author: printempw
|
* @Author: printempw
|
||||||
* @Date: 2016-09-15 10:39:41
|
* @Date: 2016-09-15 10:39:41
|
||||||
* @Last Modified by: g-plane
|
* @Last Modified by: g-plane
|
||||||
* @Last Modified time: 2017-04-26 23:48:09
|
* @Last Modified time: 2017-04-26 23:58:06
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
@ -259,7 +259,7 @@ var TexturePreview = function (type, tid, preference) {
|
|||||||
|
|
||||||
this.change3dPreview = function () {
|
this.change3dPreview = function () {
|
||||||
|
|
||||||
if (this.playerPreference == this.preference) {
|
if (this.playerPreference == this.preference || this.type == 'cape') {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: url(`skinlib/info/${this.tid}`),
|
url: url(`skinlib/info/${this.tid}`),
|
||||||
|
Loading…
Reference in New Issue
Block a user