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: ec515e892c69bd67f5c10f29a7ab5e72f9f607bc (plain)
1
2
3
4
5
export default class VersionCheckImage {
  static bindErrorEvent(imageElement) {
    imageElement.off('error').on('error', () => imageElement.hide());
  }
}