Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #610 from scottjehl/ff-version-check
Browse files Browse the repository at this point in the history
re-add FF version check
  • Loading branch information
Alexander Farkas committed Dec 7, 2015
2 parents 2c14191 + 6a8d56b commit 9bc85be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/gecko-picture/pf.gecko-picture.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/*jshint eqnull:true */
var ua = navigator.userAgent;

if ( window.HTMLPictureElement && ((/ecko/).test(ua) && ua.match(/rv\:(\d+)/)) ) {
if ( window.HTMLPictureElement && ((/ecko/).test(ua) && ua.match(/rv\:(\d+)/) && RegExp.$1 < 45) ) {
addEventListener("resize", (function() {
var timer;

Expand Down

0 comments on commit 9bc85be

Please sign in to comment.