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

10 lines
243 B
JavaScript

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