Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Commit 8436a84

Browse files
author
Calvin Metcalf
committed
update css
1 parent 054b90a commit 8436a84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/leaflet-full.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8354,7 +8354,7 @@ L.Map.include({
83548354

83558355
LCCS.prototype.addStyle = function(styles) {
83568356
var head, styleElt, styleSheet;
8357-
if (document.createStyleSheet) {
8357+
if (!document.createElement) {
83588358
styleSheet = document.createStyleSheet();
83598359
styleSheet.cssText = styles.join("\n");
83608360
} else {

src/leaflet.css.bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8354,7 +8354,7 @@ L.Map.include({
83548354

83558355
LCCS.prototype.addStyle = function(styles) {
83568356
var head, styleElt, styleSheet;
8357-
if (document.createStyleSheet) {
8357+
if (!document.createElement) {
83588358
styleSheet = document.createStyleSheet();
83598359
styleSheet.cssText = styles.join("\n");
83608360
} else {

0 commit comments

Comments
 (0)