Welcome to mirror list, hosted at ThFree Co, Russian Federation.

version_check_image.js « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 88ba991af4733cbfe376e20c9f0a905074b8f78c (plain)
1
2
3
4
5
6
7
8
export default class VersionCheckImage {
  static bindErrorEvent(imageElement) {
    imageElement.off('error').on('error', () => imageElement.hide());
  }
}

window.gl = window.gl || {};
gl.VersionCheckImage = VersionCheckImage;