File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 474474 } ) ;
475475
476476 function fixResponsiveImages ( ) {
477- if ( util . isHTMLImageElement ( clone ) ) {
477+ if ( util . isHTMLImageElement ( clone ) )
478+ {
478479 // Remove lazy-loading and responsive attributes
479480 clone . removeAttribute ( 'loading' ) ;
480481
881882 const status = xhr . status ;
882883 // In local files, status is 0 upon success in Mozilla Firefox
883884 if (
884- ( status === 0 &&
885- url . toLowerCase ( ) . startsWith ( 'file://' ) ) ||
885+ ( status === 0 && url . toLowerCase ( ) . startsWith ( 'file://' ) ) ||
886886 ( status >= 200 && status <= 300 && xhr . response !== null )
887887 ) {
888888 const response = xhr . response ;
922922 if ( placeholder ) {
923923 resolve ( placeholder ) ;
924924 } else {
925- fail (
926- 'Status:' +
927- xhr . status +
928- ' while fetching resource: ' +
929- url
930- ) ;
925+ fail ( 'Status:' + xhr . status + ' while fetching resource: ' + url ) ;
931926 }
932927 }
933928
You can’t perform that action at this time.
0 commit comments