diff --git a/cookiebar-latest.js b/cookiebar-latest.js index 336af33..bce1f84 100644 --- a/cookiebar-latest.js +++ b/cookiebar-latest.js @@ -348,7 +348,7 @@ function setupCookieBar() { for (i = 0; i < scripts.length; i += 1) { if (scripts[i].hasAttribute('src')) { path = scripts[i].src; - if (path.indexOf('cookiebar') > -1) { + if (path.indexOf('cookiebar-latest') > -1) { return path; } }