diff --git a/assets/css/user.style.css b/assets/css/user.style.css
index 627c9f81..33e498b2 100644
--- a/assets/css/user.style.css
+++ b/assets/css/user.style.css
@@ -2,7 +2,7 @@
* @Author: prpr
* @Date: 2016-01-21 19:12:06
* @Last Modified by: prpr
-* @Last Modified time: 2016-02-04 22:57:13
+* @Last Modified time: 2016-02-05 11:16:53
*/
.home-menu-blur {
@@ -84,7 +84,7 @@ span {
display: inline !important;
}
.alert {
- margin: 20px 0 0;
+ margin: 20px 0 10px;
}
input[type=radio] {
margin: 20px 0 0;
diff --git a/assets/js/user.utils.js b/assets/js/user.utils.js
index 91e3e337..1e88b1f6 100644
--- a/assets/js/user.utils.js
+++ b/assets/js/user.utils.js
@@ -2,7 +2,7 @@
* @Author: prpr
* @Date: 2016-01-21 13:56:40
* @Last Modified by: prpr
-* @Last Modified time: 2016-02-05 11:08:02
+* @Last Modified time: 2016-02-05 11:16:43
*/
'use strict';
@@ -71,15 +71,9 @@ $("[title='Rotation']").click(function(){
$("#upload").click(function(){
var skin_file = $("#skininput").get(0).files[0];
var cape_file = $("#capeinput").get(0).files[0];
-
var form_data = new FormData();
- if (skin_file) {
- form_data.append('skin_file', skin_file);
- }
- if (cape_file) {
- form_data.append('cape_file', cape_file);
- }
- form_data.append('uname', docCookies.getItem('uname'));
+ if (skin_file) form_data.append('skin_file', skin_file);
+ if (cape_file) form_data.append('cape_file', cape_file);
if (skin_file || cape_file) {
$.ajax({
type: 'POST',
diff --git a/user/index.php b/user/index.php
index 7c75ac75..0f089885 100644
--- a/user/index.php
+++ b/user/index.php
@@ -76,7 +76,7 @@ if (isset($_SESSION['uname'])) {
My skin fits on the new Alex player model.
- Preview
+ 2D Preview