summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/widgets/google-translate/google-translate.js')
-rw-r--r--plugins/jetpack/modules/widgets/google-translate/google-translate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/widgets/google-translate/google-translate.js b/plugins/jetpack/modules/widgets/google-translate/google-translate.js
index 6c7cc32f..301f13a7 100644
--- a/plugins/jetpack/modules/widgets/google-translate/google-translate.js
+++ b/plugins/jetpack/modules/widgets/google-translate/google-translate.js
@@ -14,7 +14,7 @@ function googleTranslateElementInit() {
}
new google.translate.TranslateElement( {
pageLanguage: lang,
- layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
+ layout: _wp_google_translate_widget.layout,
autoDisplay: false
}, 'google_translate_element' );
}