mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
Use .toLowerCase() so casing does not need to be checked
This commit is contained in:
@@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user