gitlab-org--gitlab-foss/app/assets/javascripts/version_check_image.js

5 lines
157 B
JavaScript

export default class VersionCheckImage {
static bindErrorEvent(imageElement) {
imageElement.off('error').on('error', () => imageElement.hide());
}
}