Upgrade js librairies

This commit is contained in:
2021-05-24 17:38:13 +02:00
parent c88026b563
commit e1640ff199
9 changed files with 23 additions and 28 deletions

4
script/d3.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

12
script/leaflet.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
/*! /*!
* Lightbox v2.11.1 * Lightbox v2.11.3
* by Lokesh Dhakar * by Lokesh Dhakar
* *
* More info: * More info:
@@ -478,18 +478,13 @@
//ADDED-END //ADDED-END
/* /*
SVGs that don't have width and height attributes specified are reporting width and height Since many SVGs have small intrinsic dimensions, but they support scaling
values of 0 in Firefox 47 and IE11 on Windows. To fix, we set the width and height to the max up without quality loss because of their vector format, max out their
dimensions for the viewport rather than 0 x 0. size.
https://github.com/lokesh/lightbox2/issues/552
*/ */
if (filetype === 'svg') { if (filetype === 'svg') {
if ((preloader.width === 0) || preloader.height === 0) {
$image.width(maxImageWidth); $image.width(maxImageWidth);
$image.height(maxImageHeight); $image.height(maxImageHeight);
}
} }
// Fit image inside the viewport. // Fit image inside the viewport.
@@ -551,6 +546,7 @@
self.$overlay self.$overlay
.width($(document).width()) .width($(document).width())
.height($(document).height()); .height($(document).height());
}, 0); }, 0);
*/ */
if(e) { if(e) {
@@ -723,7 +719,6 @@
var KEYCODE_RIGHTARROW = 39; var KEYCODE_RIGHTARROW = 39;
var keycode = event.keyCode; var keycode = event.keyCode;
if (keycode === KEYCODE_ESC) { if (keycode === KEYCODE_ESC) {
// Prevent bubbling so as to not affect other components on the page. // Prevent bubbling so as to not affect other components on the page.
event.stopPropagation(); event.stopPropagation();

View File

@@ -532,7 +532,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
} }
.leaflet-oldie .leaflet-popup-content-wrapper { .leaflet-oldie .leaflet-popup-content-wrapper {
zoom: 1; -ms-zoom: 1;
} }
.leaflet-oldie .leaflet-popup-tip { .leaflet-oldie .leaflet-popup-tip {
width: 24px; width: 24px;

View File

@@ -145,4 +145,4 @@
.lineSelection { .lineSelection {
cursor: move; cursor: move;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long