mirror of
https://github.com/remy/inliner.git
synced 2024-09-11 17:25:30 +03:00
commit
d86313172e
@ -268,7 +268,7 @@ function Inliner(url, options, callback) {
|
||||
// but we're just being extra sure before we do zap it out
|
||||
todo.scripts && assets.scripts.each(function () {
|
||||
var $script = window.$(this),
|
||||
scriptURL = URL.resolve(url, this.src);
|
||||
scriptURL = URL.resolve(url, (this.src||"").toString());
|
||||
|
||||
if (!this.src || scriptURL.indexOf('google-analytics.com') !== -1) { // ignore google
|
||||
breakdown.scripts--;
|
||||
|
Loading…
Reference in New Issue
Block a user