Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
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
Hide 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() {
...
@@ -64,11 +64,11 @@ $(function() {
$
(
'.quota .used'
).
each
(
function
()
{
$
(
'.quota .used'
).
each
(
function
()
{
var
s
=
this
;
var
s
=
this
;
$
(
this
).
css
(
'backgroundColor'
,
function
(
w
)
{
$
(
this
).
css
(
'backgroundColor'
,
function
(
w
)
{
return
'hsla('
+
(
120
-
parseFloat
(
w
)
/
438
*
120
).
toFixed
(
0
)
+
',100%,50%,0.2)'
;
return
'hsla('
+
(
120
-
parseFloat
(
w
)
/
100
*
120
).
toFixed
(
0
)
+
',100%,50%,0.2)'
;
}(
$
(
this
)
.
css
(
'width'
)
));
}(
$
(
this
)
[
0
].
style
.
width
));
if
(
parseInt
(
$
(
this
).
css
(
'width'
))
>
0
)
$
(
this
).
css
(
'borderRight'
,
function
(
w
)
{
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)'
;
return
'1px solid hsla('
+
(
120
-
parseFloat
(
w
)
/
100
*
120
).
toFixed
(
0
)
+
',100%,30%,0.4)'
;
}(
$
(
this
)
.
css
(
'width'
)
));
}(
$
(
this
)
[
0
].
style
.
width
));
});
});
$
(
'#new-folder'
).
click
(
function
()
{
$
(
'#new-folder'
).
click
(
function
()
{
$
(
'#new-folder-form input'
)[
0
].
focus
();
$
(
'#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