Skip to content

Commit 7db17df

Browse files
v4.0.1
Fixes #54
1 parent b017dbf commit 7db17df

File tree

12 files changed

+25
-18
lines changed

12 files changed

+25
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Browser support covers IE9+ as well as all other modern browsers.
2323

2424
Several options are available for downloading Responsive:
2525

26-
- [Download the latest release](https://github.com/ResponsiveBP/Responsive/releases/download/4.0.0/responsive.zip).
27-
- [Download the latest release source](https://github.com/ResponsiveBP/Responsive/archive/4.0.0.zip).
26+
- [Download the latest release](https://github.com/ResponsiveBP/Responsive/releases/download/4.0.1/responsive.zip).
27+
- [Download the latest release source](https://github.com/ResponsiveBP/Responsive/archive/4.0.1.zip).
2828
- Clone the repo: `git clone https://github.com/ResponsiveBP/Responsive.git`.
2929
- Install with [Bower](http://bower.io): `bower install responsive`.
3030

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "responsive",
33
"description": "A super lightweight HTML, Sass, CSS, and JavaScript framework for building responsive websites.",
4-
"version": "4.0.0",
4+
"version": "4.0.1",
55
"homepage": "http://responsivebp.com",
66
"authors": [
77
"James South"

build/responsive.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Copyright (c), James South.
66
Licensed under the MIT License.
77
============================================================================== */
8-
/*! Responsive v4.0.0 | MIT License | responsivebp.com */
8+
/*! Responsive v4.0.1 | MIT License | responsivebp.com */
99
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
1010
html {
1111
font-family: sans-serif;
@@ -4815,10 +4815,13 @@ table {
48154815
padding: 0 .5rem;
48164816
border-top: solid 1px silver; }
48174817

4818-
.expand,
4818+
.trans,
48194819
.collapse {
48204820
-webkit-transition: height .5s ease, width .5s ease;
4821-
transition: height .5s ease, width .5s ease;
4821+
transition: height .5s ease, width .5s ease; }
4822+
4823+
.expand,
4824+
.collapse {
48224825
display: block;
48234826
height: auto;
48244827
margin-top: 0;

build/responsive.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Licensed under the MIT License.
77
============================================================================== */
88

9-
/*! Responsive v4.0.0 | MIT License | responsivebp.com */
9+
/*! Responsive v4.0.1 | MIT License | responsivebp.com */
1010

1111
/*
1212
* Responsive Core
@@ -1732,7 +1732,7 @@
17321732
var eventToTrigger = $.Event(completeEvent);
17331733

17341734
// Ensure the height/width is set to auto.
1735-
self.$target[self.options.dimension]("");
1735+
self.$target.removeClass("trans")[self.options.dimension]("");
17361736

17371737
self.transitioning = false;
17381738

@@ -1770,7 +1770,7 @@
17701770

17711771
// Remove or add the expand classes.
17721772
this.$target[method]("collapse");
1773-
this.$target[startEvent.type === "show" ? "addClass" : "removeClass"]("expand");
1773+
this.$target[startEvent.type === "show" ? "addClass" : "removeClass"]("expand trans");
17741774

17751775
this.$target.onTransitionEnd(complete);
17761776
};

build/responsive.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/responsive.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/responsive.zip

29 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "responsive",
33
"description": "A super lightweight HTML, Sass, CSS, and JavaScript framework for building responsive websites.",
4-
"version": "4.0.0",
4+
"version": "4.0.1",
55
"keywords": [
66
"html",
77
"css",

src/js/responsive.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Licensed under the MIT License.
77
============================================================================== */
88

9-
/*! Responsive v4.0.0 | MIT License | responsivebp.com */
9+
/*! Responsive v4.0.1 | MIT License | responsivebp.com */
1010

1111
/*
1212
* Responsive Core

src/js/responsive.dropdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
var eventToTrigger = $.Event(completeEvent);
169169

170170
// Ensure the height/width is set to auto.
171-
self.$target[self.options.dimension]("");
171+
self.$target.removeClass("trans")[self.options.dimension]("");
172172

173173
self.transitioning = false;
174174

@@ -206,7 +206,7 @@
206206

207207
// Remove or add the expand classes.
208208
this.$target[method]("collapse");
209-
this.$target[startEvent.type === "show" ? "addClass" : "removeClass"]("expand");
209+
this.$target[startEvent.type === "show" ? "addClass" : "removeClass"]("expand trans");
210210

211211
this.$target.onTransitionEnd(complete);
212212
};

0 commit comments

Comments
 (0)