Skip to content

Commit

Permalink
Merge pull request #16 from dayjournal/dev
Browse files Browse the repository at this point in the history
v1.4.2
  • Loading branch information
dayjournal authored Jan 15, 2021
2 parents cd84ed1 + 57e0544 commit 2000993
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/L.Control.Opacity.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ L.Control.Opacity = L.Control.extend({
}
var form = this._form = L.DomUtil.create('form', className + '-list');
if (collapsed) {
this._map.on('click', this.collapse, this);
this._map.on('click zoom move', this.collapse, this);
if (!L.Browser.android) {
L.DomEvent.on(container, {
mouseenter: this.expand,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leaflet.control.opacity",
"version": "1.4.1",
"version": "1.4.2",
"description": "Leaflet.Control.Opacity is a Leaflet plugin that makes multiple tile layers transparent. (Leaflet v1.x.x)",
"main": "dist/L.Control.Opacity.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/L.Control.Opacity.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ L.Control.Opacity = L.Control.extend({
}
var form = this._form = L.DomUtil.create('form', className + '-list');
if (collapsed) {
this._map.on('click', this.collapse, this);
this._map.on('click zoom move', this.collapse, this);
if (!L.Browser.android) {
L.DomEvent.on(container, {
mouseenter: this.expand,
Expand Down

0 comments on commit 2000993

Please sign in to comment.