debian-mirror-gitlab/app/assets/javascripts/version_check_image.js
2017-09-10 17:25:29 +05:30

5 lines
157 B
JavaScript

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