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
535bcf2d
Commit
535bcf2d
authored
Jun 03, 2019
by
Ha Jonguk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
英文小文字だけでコンテンツ名を指定する場合、"..."がみえない不具合の対応
parent
83f6eaec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
abvw/common/js/common.js
+7
-1
No files found.
abvw/common/js/common.js
View file @
535bcf2d
...
...
@@ -3335,10 +3335,16 @@ COMMON.fixTitleToDottedLine = function(titleEle, fontSize, height) {
// 一旦追加
titleEle
.
after
(
cloneEle
);
var
fixed
=
false
;
// 指定した高さになるまで、1文字ずつ消去していく
while
((
html
.
length
>
0
)
&&
(
cloneEle
.
height
()
>
titleEle
.
height
()))
{
html
=
html
.
substr
(
0
,
html
.
length
-
1
);
cloneEle
.
html
(
html
+
'...'
);
cloneEle
.
html
(
html
+
'......'
);
fixed
=
true
;
}
// 小文字のみの場合、3点リーダーが表示みえない場合があるため対応
if
(
fixed
)
{
cloneEle
.
html
(
cloneEle
.
html
().
slice
(
0
,
-
3
));
}
// 文章を入れ替えて、複製した要素を削除する
...
...
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