From 8498d7c76d404aad28a4a597c75c33e0c1980d66 Mon Sep 17 00:00:00 2001
From: printempw
Date: Sun, 22 Jan 2017 18:54:02 +0800
Subject: [PATCH] fix wrong link to texture detail #48
---
resources/assets/src/scripts/general.js | 4 ++--
resources/views/vendor/closet-items.tpl | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/resources/assets/src/scripts/general.js b/resources/assets/src/scripts/general.js
index 58cf3aaa..6294cce3 100644
--- a/resources/assets/src/scripts/general.js
+++ b/resources/assets/src/scripts/general.js
@@ -2,7 +2,7 @@
* @Author: printempw
* @Date: 2016-09-15 10:39:41
* @Last Modified by: printempw
-* @Last Modified time: 2017-01-22 14:03:31
+* @Last Modified time: 2017-01-22 18:51:51
*/
'use strict';
@@ -229,7 +229,7 @@ var TexturePreview = function (type, tid, preference) {
this.selector
.attr('src', url(`preview/200/${this.tid}.png`))
.show()
- .parent().attr('href', url('skinlib/show?tid=' + this.tid))
+ .parent().attr('href', url('skinlib/show/' + this.tid))
.next().hide();
return this;
diff --git a/resources/views/vendor/closet-items.tpl b/resources/views/vendor/closet-items.tpl
index 8c41e7b7..1bbb9dac 100644
--- a/resources/views/vendor/closet-items.tpl
+++ b/resources/views/vendor/closet-items.tpl
@@ -8,7 +8,7 @@
{{ $item->name }} ({{ $item->type }})
-
+