Skip to content

Commit eb7469f

Browse files
committed
new version 0.2.1
1 parent 83781e8 commit eb7469f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## [0.2.1] - Unreleased
8+
## [0.2.1] - 2020-06-29
99
### Added
1010
- New option `media` to enable/disable element observation by media queries
1111

@@ -22,5 +22,5 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2222
## 0.1.0 - 2020-06-26
2323
First version with basic features
2424

25-
[0.2.1]: https://github.com/oom-components/scroll-styles/compare/v0.2.0...HEAD
25+
[0.2.1]: https://github.com/oom-components/scroll-styles/compare/v0.2.0...v0.2.1
2626
[0.2.0]: https://github.com/oom-components/scroll-styles/compare/v0.1.0...v0.2.0

src/scroll.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default class Scroll {
5757
if (event.matches) {
5858
observe();
5959
} else {
60-
element.style.removeProperty(options.name, null);
60+
element.style.removeProperty(options.name);
6161
this.unobserve(element);
6262
}
6363
});

0 commit comments

Comments
 (0)