Skip to content

Commit 11959d2

Browse files
authored
Bugfix: Update condition to check for cheese image config
1 parent df58dfe commit 11959d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const photoBooth = (function () {
257257
const element = document.createElement('div');
258258
element.classList.add('cheese');
259259

260-
if (config.ui.shutter_cheese_img !== '') {
260+
if (config.ui.shutter_cheese_img != null && config.ui.shutter_cheese_img !== '') {
261261
const image = document.createElement('img');
262262
image.src = config.ui.shutter_cheese_img;
263263
const imageElement = document.createElement('div');

0 commit comments

Comments
 (0)