Problem/Motivation

Looks like the code in picture.min.js doesn't match the one in picture.js.
Missing part is the new condition whether to use picturefill or not:
('HTMLPictureElement' in window) || window.picturefill($(context));

Proposed resolution

Minify picture.js and replace picture.min.js.

Remaining tasks

Reviews needed

User interface changes

None

API changes

None

CommentFileSizeAuthor
picture-diff-in-minified-js.patch1.23 KBdas-peter

Comments

jelle_s’s picture

Status: Needs review » Fixed

Fixed in latest dev. Thanks for the patch!

  • Jelle_S committed bf53224 on 7.x-2.x authored by das-peter
    Issue #2373111 by das-peter: picture.min.js doesn't match picture.js
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.