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

6 lines
157 B
JavaScript
Raw Normal View History

export default class VersionCheckImage {
2017-01-12 09:00:06 -05:00
static bindErrorEvent(imageElement) {
imageElement.off('error').on('error', () => imageElement.hide());
}
2017-01-12 09:00:06 -05:00
}