diff --git a/tarteaucitron.js b/tarteaucitron.js index 3ab2319..4f1aaae 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -164,7 +164,7 @@ var tarteaucitron = { html += ''; // get the banner orientation - if (default.orientation === 'bottom') { + if (defaults.orientation === 'bottom') { orientation = 'Bottom'; }