Fix not clearing cape preview when switching players
This commit is contained in:
parent
b7df1b362c
commit
fda8d9fd35
|
|
@ -276,6 +276,11 @@ var TexturePreview = function (type, tid, preference) {
|
||||||
this.showNotUploaded = function () {
|
this.showNotUploaded = function () {
|
||||||
this.selector.hide().parent().next().show();
|
this.selector.hide().parent().next().show();
|
||||||
|
|
||||||
|
// clear 3D preview of cape
|
||||||
|
if (this.type == 'cape') {
|
||||||
|
MSP.changeCape('');
|
||||||
|
}
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user