debian-mirror-gitlab/app/assets/javascripts/version_check_image.js
2017-08-17 22:00:37 +05:30

10 lines
251 B
JavaScript

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