Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
d040f423
Commit
d040f423
authored
Oct 19, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#39714 andやor検索(ウェブ版error処理)
parent
c58e05a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
+17
-1
abvw/js/header.js
+17
-1
No files found.
abvw/js/header.js
View file @
d040f423
...
...
@@ -5,6 +5,7 @@ var HEADER = {};
HEADER
.
timeWaitCloseNewInfoPushMessage
=
5000
;
// time wait close info new push message 5 seconds
HEADER
.
currentPagePushMessage
=
1
;
HEADER
.
isHoverOn
=
false
;
HEADER
.
click
=
true
;
$
(
document
).
ready
(
function
()
{
...
...
@@ -240,6 +241,21 @@ HEADER.toggleSearchPanel = function(){
}
};
HEADER
.
overClick
=
function
()
{
if
(
HEADER
.
click
)
{
HEADER
.
click
=
!
HEADER
.
click
;
// prevent clicking for 2 sec
setTimeout
(
function
()
{
HEADER
.
click
=
true
;
},
1000
)
return
false
;
}
else
{
return
true
;
}
}
//Button Search Event function
HEADER
.
searchHeaderButtonFunction
=
function
(){
var
content
=
$
(
'#searchbox-content'
).
attr
(
'checked'
);
...
...
@@ -254,7 +270,7 @@ HEADER.searchHeaderButtonFunction = function(){
return
;
}
if
(
CONTENTSEARCH
.
overClick
()){
if
(
HEADER
.
overClick
()){
return
;
}
...
...
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