diff options
Diffstat (limited to 'src/js/theme.js')
-rw-r--r-- | src/js/theme.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/theme.js b/src/js/theme.js index 2c0b543..f32e5d6 100644 --- a/src/js/theme.js +++ b/src/js/theme.js @@ -40,7 +40,7 @@ class Theme { this.resizeEventSet = new Set(); this.switchThemeEventSet = new Set(); this.clickMaskEventSet = new Set(); - if (objectFitImages) objectFitImages(); + if (window.objectFitImages) objectFitImages(); } initSVGIcon() { |