Remove obsolete enableRetinaImages usage.

Review Request #13495 — Created Jan. 9, 2024 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

All the browsers we support now have native support for srcset, so our
old Djblets.enableRetinaImages method is a no-op. This change gets rid
of those calls.

  • Ran unit tests.
  • Verified that I still saw high-res versions of icons and file attachment
    thumbnails.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Remove obsolete enableRetinaImages usage.
All the browsers we support now have native support for `srcset`, so our old `Djblets.enableRetinaImages` method is a no-op. This change gets rid of those calls. Testing Done: - Ran unit tests. - Verified that I still saw high-res versions of icons and file attachment thumbnails.
006b24455ef5e9e988552f659aeee717f72d2564 David Trowbridge
reviewboard/static/rb/js/init.es6.js
reviewboard/static/rb/js/reviewRequestPage/views/issueSummaryTableView.es6.js
reviewboard/static/rb/js/reviewRequestPage/views/reviewReplyEditorView.es6.js
reviewboard/static/rb/js/reviews/views/fileAttachmentThumbnailView.ts
reviewboard/templates/js/tests_base.html
Loading...