diff --git a/docs/template.html b/docs/template.html index e2d8c4344..e5ac87aec 100644 --- a/docs/template.html +++ b/docs/template.html @@ -264,9 +264,9 @@ }; Array.prototype.forEach.call(blockquotes, function (el, i) { - if (el.innerHTML.indexOf('New as of') !== -1) { + if (el.innerHTML.toLowerCase().indexOf('new as of') !== -1) { addClass(el, 'new-as-of'); - } else if (el.innerHTML.indexOf('not yet released') !== -1) { + } else if (el.innerHTML.toLowerCase().indexOf('not yet released') !== -1) { addClass(el, 'not-yet-released'); } });