Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
32a2ed980678fe7db171c79ee268c51d8c084b6a
1 parent
fb9f012d
search history sort with date.Review by:@梁志锋
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
static/js/index/search.js
static/js/index/search.js
View file @
32a2ed9
...
...
@@ -71,8 +71,8 @@ $('#search').on('touchend', function() {
if
(
historys
&&
historys
.
length
>
0
)
{
historys
=
historys
.
split
(
ranToken
);
for
(
i
=
0
;
i
<
historys
.
length
;
i
++
)
{
history
=
historys
[
i
];
for
(
i
=
historys
.
length
;
i
>
0
;
i
--
)
{
history
=
historys
[
i
-
1
];
if
(
history
===
''
)
{
continue
;
...
...
Please
register
or
login
to post a comment