Skip to content

Commit

Permalink
Objectfit polyfill with js use double quote fregante/object-fit-image…
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreonax committed Mar 31, 2017
1 parent b9f3fb9 commit 0984268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ var polyfill = {
if (!Modernizr.objectfit) {
$.getScript('js/vendors/polyfill/ofi.min.js')
.done(function () {
$('.wrap_media > a > img, .wrap_media > img, .wrap_media > a > iframe, .wrap_media > iframe, .wrap_media > video').css('font-family','object-fit: cover;');
$('.wrap_media > video.fullscreen').css('font-family','object-fit: contain;');
$('.wrap_media > a > img, .wrap_media > img, .wrap_media > a > iframe, .wrap_media > iframe, .wrap_media > video').css('font-family',"'object-fit: cover'");
$('.wrap_media > video.fullscreen').css('font-family',"'object-fit: contain'");
objectFitImages();
})
.fail(function () {
Expand Down

0 comments on commit 0984268

Please sign in to comment.