Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/object-fit/ls.object-fit.js
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@
var hideElement = element;
var container = element.parentNode;

if(container.nodeName.toLowerCase() == 'PICTURE'){
if(container.nodeName.toUpperCase() == 'PICTURE'){
hideElement = container;
container = container.parentNode;
}
2 changes: 1 addition & 1 deletion plugins/object-fit/ls.object-fit.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 23ade18

Please sign in to comment.