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: 4e00e0f11f791e8b289a4ce4820ee901c0c7d664 (plain)
1
2
3
4
5
6
export default class VersionCheckImage {
  static bindErrorEvent(imageElement) {
    // eslint-disable-next-line @gitlab/no-global-event-off
    imageElement.off('error').on('error', () => imageElement.hide());
  }
}