debian-mirror-gitlab/app/assets/javascripts/version_check_image.js

6 lines
157 B
JavaScript
Raw Normal View History

2017-09-10 17:25:29 +05:30
export default class VersionCheckImage {
2017-08-17 22:00:37 +05:30
static bindErrorEvent(imageElement) {
imageElement.off('error').on('error', () => imageElement.hide());
}
}