Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
05ddea31
Commit
05ddea31
authored
10 years ago
by
Heinrich Fenkart
Browse files
Options
Download
Email Patches
Plain Diff
Fix IE8 reporting height style as all uppercase
parent
31373309
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/unit/collapse.js
+2
-2
js/tests/unit/collapse.js
with
2 additions
and
2 deletions
+2
-2
js/tests/unit/collapse.js
+
2
-
2
View file @
05ddea31
...
@@ -33,14 +33,14 @@ $(function () {
...
@@ -33,14 +33,14 @@ $(function () {
var
$el
=
$
(
'
<div class="collapse"/>
'
).
bootstrapCollapse
(
'
show
'
)
var
$el
=
$
(
'
<div class="collapse"/>
'
).
bootstrapCollapse
(
'
show
'
)
ok
(
$el
.
hasClass
(
'
in
'
),
'
has class "in"
'
)
ok
(
$el
.
hasClass
(
'
in
'
),
'
has class "in"
'
)
ok
(
!
/height/
.
test
(
$el
.
attr
(
'
style
'
)),
'
has height reset
'
)
ok
(
!
/height/
i
.
test
(
$el
.
attr
(
'
style
'
)),
'
has height reset
'
)
})
})
test
(
'
should hide a collapsed element
'
,
function
()
{
test
(
'
should hide a collapsed element
'
,
function
()
{
var
$el
=
$
(
'
<div class="collapse"/>
'
).
bootstrapCollapse
(
'
hide
'
)
var
$el
=
$
(
'
<div class="collapse"/>
'
).
bootstrapCollapse
(
'
hide
'
)
ok
(
!
$el
.
hasClass
(
'
in
'
),
'
does not have class "in"
'
)
ok
(
!
$el
.
hasClass
(
'
in
'
),
'
does not have class "in"
'
)
ok
(
/height/
.
test
(
$el
.
attr
(
'
style
'
)),
'
has height set
'
)
ok
(
/height/
i
.
test
(
$el
.
attr
(
'
style
'
)),
'
has height set
'
)
})
})
test
(
'
should not fire shown when show is prevented
'
,
function
()
{
test
(
'
should not fire shown when show is prevented
'
,
function
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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