Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

leaflet.fullscreen

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet.fullscreen - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

6

Control.FullScreen.js

@@ -221,3 +221,3 @@ /*

if (this._screenfull.isEnabled && !this.options.forcePseudoFullscreen) {
this._screenfull.exit();
this._screenfull.exit().then(() => map.invalidateSize());
} else {

@@ -236,3 +236,3 @@ leaflet.DomUtil.removeClass(this.options.fullscreenElement

? this.options.fullscreenElement
: map._container);
: map._container).then(() => map.invalidateSize());
} else {

@@ -261,3 +261,3 @@ leaflet.DomUtil.addClass(this.options.fullscreenElement

if (ev.target === map.getContainer() && !this._screenfull.isFullscreen && !map._exitFired) {
map.invalidateSize();
this._screenfull.exit().then(() => map.invalidateSize());
map.fire('exitFullscreen');

@@ -264,0 +264,0 @@ map._exitFired = true;

{
"name": "leaflet.fullscreen",
"version": "3.0.1",
"version": "3.0.2",
"description": "Simple plugin for Leaflet that adds fullscreen button to your maps.",

@@ -5,0 +5,0 @@ "main": "Control.FullScreen.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc