fix wrong link to texture detail #48

This commit is contained in:
printempw 2017-01-22 18:54:02 +08:00
parent b198ce5d35
commit 8498d7c76d
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -8,7 +8,7 @@
<span title="{{ $item->name }}">{{ $item->name }} <small>({{ $item->type }})</small></span>
</p>
<a href="{{ url('skinlib/show?tid='.$item->tid) }}" title="{{ trans('user.closet.view') }}" class="more" data-toggle="tooltip" data-placement="bottom"><i class="fa fa-share"></i></a>
<a href="{{ url('skinlib/show/'.$item->tid) }}" title="{{ trans('user.closet.view') }}" class="more" data-toggle="tooltip" data-placement="bottom"><i class="fa fa-share"></i></a>
<span title="{{ trans('user.closet.more') }}" class="more" data-toggle="dropdown" aria-haspopup="true" id="more-button"><i class="fa fa-cog"></i></span>
<ul class="dropup dropdown-menu" aria-labelledby="more-button">