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

8 lines
229 B
JavaScript

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