Call preview-thumbnails listeners() function on load (#2604)

The listeners() function in preview-thumbnails.js was never called, so some functionality was broken.

Fixes #2210.
This commit is contained in:
Morgan Zolob 2023-02-24 18:04:13 -08:00 committed by GitHub
parent 9248e322fc
commit 41e2454bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,9 @@ class PreviewThumbnails {
// Check to see if thumb container size was specified manually in CSS
this.determineContainerAutoSizing();
// Set up listeners
this.listeners();
this.loaded = true;
});
};