Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f675febb
authored
Feb 07, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: jQuery gives wrong width (replaced with native dom methods)
parent
04b2c044
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
one/static/cloud.js
+4
-4
No files found.
one/static/cloud.js
View file @
f675febb
...
...
@@ -64,11 +64,11 @@ $(function() {
$
(
'.quota .used'
).
each
(
function
()
{
var
s
=
this
;
$
(
this
).
css
(
'backgroundColor'
,
function
(
w
)
{
return
'hsla('
+
(
120
-
parseFloat
(
w
)
/
438
*
120
).
toFixed
(
0
)
+
',100%,50%,0.2)'
;
}(
$
(
this
)
.
css
(
'width'
)
));
return
'hsla('
+
(
120
-
parseFloat
(
w
)
/
100
*
120
).
toFixed
(
0
)
+
',100%,50%,0.2)'
;
}(
$
(
this
)
[
0
].
style
.
width
));
if
(
parseInt
(
$
(
this
).
css
(
'width'
))
>
0
)
$
(
this
).
css
(
'borderRight'
,
function
(
w
)
{
return
'1px solid hsla('
+
(
120
-
parseFloat
(
w
)
/
438
*
120
).
toFixed
(
0
)
+
',100%,30%,0.4)'
;
}(
$
(
this
)
.
css
(
'width'
)
));
return
'1px solid hsla('
+
(
120
-
parseFloat
(
w
)
/
100
*
120
).
toFixed
(
0
)
+
',100%,30%,0.4)'
;
}(
$
(
this
)
[
0
].
style
.
width
));
});
$
(
'#new-folder'
).
click
(
function
()
{
$
(
'#new-folder-form input'
)[
0
].
focus
();
...
...
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