Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HS-public
flot
Commits
c195e836
Commit
c195e836
authored
Nov 04, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup / optimization of font-size defaulting.
parent
fd1a0241
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
jquery.flot.js
jquery.flot.js
+3
-1
No files found.
jquery.flot.js
View file @
c195e836
...
@@ -735,9 +735,11 @@ Licensed under the MIT license.
...
@@ -735,9 +735,11 @@ Licensed under the MIT license.
// since the rest of the code assumes that they exist.
// since the rest of the code assumes that they exist.
var
i
,
axisOptions
,
axisCount
,
var
i
,
axisOptions
,
axisCount
,
fontSize
=
placeholder
.
css
(
"font-size"
),
fontSizeDefault
=
fontSize
?
+
fontSize
.
replace
(
"px"
,
""
)
:
13
,
fontDefaults
=
{
fontDefaults
=
{
style
:
placeholder
.
css
(
"font-style"
),
style
:
placeholder
.
css
(
"font-style"
),
size
:
Math
.
round
(
0.8
*
(
placeholder
.
css
(
"font-size"
)
?
+
placeholder
.
css
(
'font-size'
).
replace
(
"px"
,
""
)
:
13
)
),
size
:
Math
.
round
(
0.8
*
fontSizeDefault
),
variant
:
placeholder
.
css
(
"font-variant"
),
variant
:
placeholder
.
css
(
"font-variant"
),
weight
:
placeholder
.
css
(
"font-weight"
),
weight
:
placeholder
.
css
(
"font-weight"
),
family
:
placeholder
.
css
(
"font-family"
)
family
:
placeholder
.
css
(
"font-family"
)
...
...
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