Skip to content

Commit

Permalink
fix: fix javascript library production url
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Jan 21, 2019
1 parent 661b1d5 commit aed9433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ public function inline_bootstrap_script() {
var s = d.createElement("script");
var v = ("IntersectionObserver" in w) ? "_no_poly" : "";
s.async = true;
s.src = "%s/optimole_lib" + v + "%s.js";
s.src = "%s/v2/latest/optimole_lib" + v + "%s.js";
b.appendChild(s);
}(window, document));
document.addEventListener( "DOMContentLoaded", function() { document.body.className = document.body.className.replace("optimole-no-script",""); } );
</script>',
esc_url( 'https://s3.amazonaws.com/optimole-js-lib/tags/v2' ),
esc_url( $domain ),
$min
);
echo $output;
Expand Down

0 comments on commit aed9433

Please sign in to comment.