Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
design
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
abookCheck
design
Commits
b3b37e64
Commit
b3b37e64
authored
3 years ago
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.4.0_miura_#44124 初回起動のみカテゴリーが小さく表示されるバグを修正
parent
7ad798e8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
app/index.html
+1
-1
app/script/check.js
+14
-8
No files found.
app/index.html
View file @
b3b37e64
...
...
@@ -20,7 +20,7 @@
<body
onload=
"CHK_L.init();"
style=
"position: relative; margin-top: 53px;"
>
<header
style=
"position: fixed; width: 100%; top: 0px; left: 0; z-index: 999;"
>
<nav
class=
"navbar navbar-dark bg-primary"
>
<a
class=
"navbar-brand category-btn lht-0"
href=
"
#"
>
<a
class=
"navbar-brand category-btn lht-0"
href=
"
javascript:CHK.setCategoryHeight();"
>
<i
class=
"fa fa-folder fs-12 p-1"
id=
"category-toggle-button"
></i>
<span
class=
"d-none d-md-inline fs-10"
>
カテゴリー
</span>
</a>
...
...
This diff is collapsed.
Click to expand it.
app/script/check.js
View file @
b3b37e64
...
...
@@ -412,14 +412,6 @@ CHK.initReportApp = function (callback) {
CHK
.
operation
.
searchOperationList
=
json
.
operationList
;
//作業一覧描画
CHK
.
createOperationList
(
CHK
.
operation
.
operationList
);
//カテゴリー高さ固定
if
(
isSetCategory
){
CATEGORY_HEIGHT
=
$
(
'main'
).
height
();
console
.
log
(
CATEGORY_HEIGHT
);
isSetCategory
=
false
}
$
(
'#category-menu'
).
height
(
CATEGORY_HEIGHT
);
$
(
'#overlayDiv'
).
height
(
CATEGORY_HEIGHT
);
});
// カテゴリーJSONデータ
...
...
@@ -441,6 +433,20 @@ CHK.initReportApp = function (callback) {
}
/**
* カテゴリー表示領域の高さ調整
*/
CHK
.
setCategoryHeight
=
function
()
{
//カテゴリー高さ固定
if
(
isSetCategory
){
CATEGORY_HEIGHT
=
$
(
'main'
).
height
();
console
.
log
(
CATEGORY_HEIGHT
);
isSetCategory
=
false
}
$
(
'#category-menu'
).
height
(
CATEGORY_HEIGHT
);
$
(
'#overlayDiv'
).
height
(
CATEGORY_HEIGHT
);
}
/**
* 作業報告初期処理、Web
*
* @param callback コールバック
...
...
This diff is collapsed.
Click to expand it.
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