Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
chinaamc-2020flag
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e7d64d17
authored
Jan 11, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
ca9431b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
Public/static/js/common.js
+7
-11
Public/static/media/bg.mp3
+0
-0
No files found.
Public/static/js/common.js
View file @
e7d64d17
...
...
@@ -776,10 +776,6 @@ function addCustomizeFlag() {
checkFlagListStatus
=
true
;
firstChooseFlag
=
false
;
}
if
(
flagStack
.
indexOf
(
text
)
!=
-
1
)
{
$
(
'#notification_area'
).
remove
();
my_notify
(
'这个Flag已经立过啦!'
);
}
flagStack
.
push
(
text
);
addFlagToList
(
text
);
$
(
'.flag-page .choose-num'
).
text
((
chooseNum
++
)
+
1
);
...
...
@@ -793,6 +789,12 @@ function addFlag(e) {
checkFlagListStatus
=
true
;
firstChooseFlag
=
false
;
}
let
text
=
$
(
this
).
find
(
'.flag-text'
).
text
();
if
(
flagStack
.
indexOf
(
text
)
!=
-
1
)
{
$
(
'#notification_area'
).
remove
();
my_notify
(
'这个Flag已经立过啦!'
);
return
false
;
}
// target.startX = e.pageX;
// target.startY = e.pageY;
// calculationStep(target.startX, target.endX, target.startY, target.endY);
...
...
@@ -801,14 +803,8 @@ function addFlag(e) {
$
(
e
.
currentTarget
).
find
(
'.star1,.star2'
).
removeClass
(
'animate'
);
},
2500
);
$
(
'.flag-choose-tip'
).
removeClass
(
'active'
);
let
text
=
$
(
this
).
find
(
'.flag-text'
).
text
();
if
(
flagStack
.
indexOf
(
text
)
!=
-
1
)
{
$
(
'#notification_area'
).
remove
();
my_notify
(
'这个Flag已经立过啦!'
);
}
flagStack
.
push
(
text
);
addFlagToList
(
text
);
$
(
'.flag-page .choose-num'
).
text
((
chooseNum
++
)
+
1
);
...
...
Public/static/media/bg.mp3
View file @
e7d64d17
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment