aeris22’s avataraeris22’s Twitter Archive—№ 87,654

            1. …in reply to @richie3366
              @richie3366 Je n’ai pas du tout ce comportement dans mon code actuel…
          1. …in reply to @aeris22
        1. …in reply to @aeris22
          @richie3366 1ère version : this.close directement, window 2nde version : fonction fléchée = window.modals 3ème version : fonction standard = window
          oh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their API
      1. …in reply to @aeris22
        @richie3366 Et d’ailleurs j’ai du coup 3 comportements différents… this.close, le this de la callback est bien window.modal, appelle bien le close mais le this vaut window dans le close =>, le this de la callback est bien window.modal, appele le close de l’objet mais avec this = window
    1. …in reply to @aeris22
      @richie3366 func(), le this de la callback vaut window, et tente d’appeler window.close…
  1. …in reply to @aeris22
    @richie3366 Bref, c’est un véritable merdier…